#162240#162240
#162240 is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.059 H 266.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).
Color values
| HEX | #162240 |
|---|---|
| RGB | rgb(22, 34, 64) |
| HSL | hsl(223, 49%, 17%) |
| HSV | hsv(223, 66%, 25%) |
| CMYK | cmyk(65.6%, 46.9%, 0%, 74.9%) |
| CIE-LAB | lab(13.74, 5.79, -20.72) |
| CIE-LCH | lch(13.74, 21.52, 285.61°) |
| OKLab | oklab(25.83% -0.0041 -0.0589) |
| OKLCH | oklch(25.83% 0.059 266) |
| XYZ | xyz(1.8280, 1.6846, 5.0783) |
| Luminance | 0.0169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.70
Navy (survey)
#01153E
ΔE00 5.19
Marine
#042E60
ΔE00 7.33
Navy Blue (survey)
#001146
ΔE00 7.57
Dark
#1B2431
ΔE00 7.91
Dark Navy Blue
#00022E
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162240 #403416
analogous
#163740 #162240 #1F1640
triadic
#162240 #401622 #224016
tetradic
#162240 #401637 #403416 #16401F
square
#162240 #401637 #403416 #16401F
split-complementary
#162240 #401F16 #374016
monochromatic
#080C17 #080C17 #162240 #263A6E #35529B
Accessibility & contrast
On white
15.71
#162240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#162240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162240
15.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162240 | 1.00 | 15.71 | 1.34 | 15.71 |
| #FFFFFF | 15.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#10213F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #162240; /* rgb */ color: rgb(22, 34, 64); /* oklch */ color: oklch(25.8% 0.059 266.0);
Tailwind
colors: {
custom: {
50: '#575c75',
500: '#162240',
950: '#000000',
},
}SCSS
$custom: #162240; $custom-light: #575c75; $custom-dark: #000000;
JSON
{
"hex": "#162240",
"rgb": {
"r": 22,
"g": 34,
"b": 64
},
"hsl": {
"h": 222.857,
"s": 48.837,
"l": 16.863
},
"oklch": {
"l": 0.25834,
"c": 0.05904,
"h": 266
},
"luminance": 0.01685
}Semantic roles & 50–950 ramp
primary
#162240
secondary
#77663B
accent
#B14FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B