#162A4B#162A4B
#162A4B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.066 H 259.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #162A4B |
|---|---|
| RGB | rgb(22, 42, 75) |
| HSL | hsl(217, 55%, 19%) |
| HSV | hsv(217, 71%, 29%) |
| CMYK | cmyk(70.7%, 44%, 0%, 70.6%) |
| CIE-LAB | lab(17.15, 4.37, -22.88) |
| CIE-LCH | lch(17.15, 23.29, 280.81°) |
| OKLab | oklab(28.71% -0.0116 -0.0651) |
| OKLCH | oklch(28.71% 0.066 259.9) |
| XYZ | xyz(2.4284, 2.3343, 6.9778) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.25
Marine
#042E60
ΔE00 4.36
Marine Blue
#01386A
ΔE00 6.88
Navy (survey)
#01153E
ΔE00 7.01
Dark
#1B2431
ΔE00 8.18
Navy Blue (survey)
#001146
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162A4B #4B3716
analogous
#16454B #162A4B #1D164B
triadic
#162A4B #4B162A #2A4B16
tetradic
#162A4B #4B1645 #4B3716 #164B1D
square
#162A4B #4B1645 #4B3716 #164B1D
split-complementary
#162A4B #4B1D16 #454B16
monochromatic
#070D18 #08101C #162A4B #24457A #325FAA
Accessibility & contrast
On white
14.31
#162A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#162A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162A4B
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162A4B | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#14284A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #162a4b; /* rgb */ color: rgb(22, 42, 75); /* oklch */ color: oklch(28.7% 0.066 259.9);
Tailwind
colors: {
custom: {
50: '#5a637d',
500: '#162a4b',
950: '#000000',
},
}SCSS
$custom: #162a4b; $custom-light: #5a637d; $custom-dark: #000000;
JSON
{
"hex": "#162a4b",
"rgb": {
"r": 22,
"g": 42,
"b": 75
},
"hsl": {
"h": 217.358,
"s": 54.639,
"l": 19.02
},
"oklch": {
"l": 0.28709,
"c": 0.06612,
"h": 259.9
},
"luminance": 0.02335
}Semantic roles & 50–950 ramp
primary
#162A4B
secondary
#83673A
accent
#A64ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B