RGB
0, 0, 128
HSL
240°, 100%, 25%
CMYK
100, 100, 0, 50
HSV
240°, 100%, 50%
Similar Colors
Conversions & Codes
| Format | Value | CSS |
|---|---|---|
| HEX | #000080 |
color: #000080;
|
| RGB | 0, 0, 128 |
color: rgb(0, 0, 128);
|
| RGB Percentage | 0%, 0%, 50% |
color: rgb(0%, 0%, 50%);
|
| CMYK | 100%, 100%, 0%, 50% | Not supported in CSS |
| HSL | 240°, 100%, 25% |
color: hsl(240, 100%, 25%);
|
| HSV | 240°, 100%, 50% | Not supported in CSS |
| CIE-LAB | 20, 0, -43 |
color: lab(20% 0 -43);
|
| Decimal | 128 | Not supported in CSS |
Color Variations
Shades
Tints
Tones
Hues
Color Harmonies
Analogous
Complementary
Split Complementary
Triadic
Tetradic
Square
CSS & Dev Snippets
CSS
.navy-blue {
color: #000080;
}
SCSS
$navy-blue: #000080;
RGB
rgb(0, 0, 128)
Accessibility & Contrast
White background
16.01:1
16.01
contrast ratio on a white background
Element
AA
AAA
Small text
Large text
UI element
Black background
1.31:1
1.31
contrast ratio on a black background
Element
AA
AAA
Small text
Large text
UI element