#162A4F#162A4F
#162A4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.073 H 261.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #162A4F |
|---|---|
| RGB | rgb(22, 42, 79) |
| HSL | hsl(219, 56%, 20%) |
| HSV | hsv(219, 72%, 31%) |
| CMYK | cmyk(72.2%, 46.8%, 0%, 69%) |
| CIE-LAB | lab(17.42, 6.02, -25.17) |
| CIE-LCH | lch(17.42, 25.88, 283.46°) |
| OKLab | oklab(29% -0.0106 -0.0718) |
| OKLCH | oklch(29% 0.073 261.6) |
| XYZ | xyz(2.5696, 2.3908, 7.7217) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.62
Marine
#042E60
ΔE00 3.81
Marine Blue
#01386A
ΔE00 6.67
Navy (survey)
#01153E
ΔE00 6.69
Navy Blue (survey)
#001146
ΔE00 8.40
Dark
#1B2431
ΔE00 9.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162A4F #4F3B16
analogous
#16474F #162A4F #1E164F
triadic
#162A4F #4F162A #2A4F16
tetradic
#162A4F #4F1647 #4F3B16 #164F1E
square
#162A4F #4F1647 #4F3B16 #164F1E
split-complementary
#162A4F #4F1E16 #474F16
monochromatic
#070D18 #09111F #162A4F #23437F #315DAF
Accessibility & contrast
On white
14.21
#162A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#162A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162A4F
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162A4F | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #162a4f; /* rgb */ color: rgb(22, 42, 79); /* oklch */ color: oklch(29.0% 0.073 261.6);
Tailwind
colors: {
custom: {
50: '#5a6380',
500: '#162a4f',
950: '#000000',
},
}SCSS
$custom: #162a4f; $custom-light: #5a6380; $custom-dark: #000000;
JSON
{
"hex": "#162a4f",
"rgb": {
"r": 22,
"g": 42,
"b": 79
},
"hsl": {
"h": 218.947,
"s": 56.436,
"l": 19.804
},
"oklch": {
"l": 0.29,
"c": 0.07259,
"h": 261.6
},
"luminance": 0.02391
}Semantic roles & 50–950 ramp
primary
#162A4F
secondary
#866C3A
accent
#AB48E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C