#162E51#162E51
#162E51 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.070 H 257.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #162E51 |
|---|---|
| RGB | rgb(22, 46, 81) |
| HSL | hsl(216, 57%, 20%) |
| HSV | hsv(216, 73%, 32%) |
| CMYK | cmyk(72.8%, 43.2%, 0%, 68.2%) |
| CIE-LAB | lab(18.88, 3.94, -24.19) |
| CIE-LCH | lch(18.88, 24.51, 279.26°) |
| OKLab | oklab(30.18% -0.0148 -0.0689) |
| OKLCH | oklch(30.18% 0.07 257.9) |
| XYZ | xyz(2.7925, 2.7184, 8.1605) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.52
Marine
#042E60
ΔE00 3.21
Marine Blue
#01386A
ΔE00 5.30
Navy (survey)
#01153E
ΔE00 8.22
Twilight Blue
#0A437A
ΔE00 8.57
Darkish Blue
#014182
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E51 #513916
analogous
#164C51 #162E51 #1B1651
triadic
#162E51 #51162E #2E5116
tetradic
#162E51 #51164C #513916 #16511B
square
#162E51 #51164C #513916 #16511B
split-complementary
#162E51 #511B16 #4C5116
monochromatic
#070E18 #091321 #162E51 #234981 #3065B1
Accessibility & contrast
On white
13.60
#162E51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#162E51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E51
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E51 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #162e51; /* rgb */ color: rgb(22, 46, 81); /* oklch */ color: oklch(30.2% 0.070 257.9);
Tailwind
colors: {
custom: {
50: '#5b6682',
500: '#162e51',
950: '#000000',
},
}SCSS
$custom: #162e51; $custom-light: #5b6682; $custom-dark: #000000;
JSON
{
"hex": "#162e51",
"rgb": {
"r": 22,
"g": 46,
"b": 81
},
"hsl": {
"h": 215.593,
"s": 57.282,
"l": 20.196
},
"oklch": {
"l": 0.30175,
"c": 0.07044,
"h": 257.9
},
"luminance": 0.02719
}Semantic roles & 50–950 ramp
primary
#162E51
secondary
#88693A
accent
#A247E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C