#162F4F#162F4F
#162F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.066 H 255.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #162F4F |
|---|---|
| RGB | rgb(22, 47, 79) |
| HSL | hsl(214, 56%, 20%) |
| HSV | hsv(214, 72%, 31%) |
| CMYK | cmyk(72.2%, 40.5%, 0%, 69%) |
| CIE-LAB | lab(19.09, 2.40, -22.51) |
| CIE-LCH | lch(19.09, 22.64, 276.10°) |
| OKLab | oklab(30.3% -0.0165 -0.0639) |
| OKLCH | oklch(30.3% 0.066 255.5) |
| XYZ | xyz(2.7582, 2.7678, 7.7845) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.16
Marine
#042E60
ΔE00 3.69
Marine Blue
#01386A
ΔE00 5.20
Dark
#1B2431
ΔE00 8.11
Dark Blue Grey
#1F3B4D
ΔE00 8.37
Twilight Blue
#0A437A
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F4F #4F3616
analogous
#164C4F #162F4F #19164F
triadic
#162F4F #4F162F #2F4F16
tetradic
#162F4F #4F164C #4F3616 #164F19
square
#162F4F #4F164C #4F3616 #164F19
split-complementary
#162F4F #4F1916 #4C4F16
monochromatic
#070E18 #09131F #162F4F #234B7F #3168AF
Accessibility & contrast
On white
13.52
#162F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#162F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F4F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F4F | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #162f4f; /* rgb */ color: rgb(22, 47, 79); /* oklch */ color: oklch(30.3% 0.066 255.5);
Tailwind
colors: {
custom: {
50: '#5a6780',
500: '#162f4f',
950: '#000000',
},
}SCSS
$custom: #162f4f; $custom-light: #5a6780; $custom-dark: #000000;
JSON
{
"hex": "#162f4f",
"rgb": {
"r": 22,
"g": 47,
"b": 79
},
"hsl": {
"h": 213.684,
"s": 56.436,
"l": 19.804
},
"oklch": {
"l": 0.30297,
"c": 0.06604,
"h": 255.5
},
"luminance": 0.02768
}Semantic roles & 50–950 ramp
primary
#162F4F
secondary
#86653A
accent
#9D48E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C