#162D4F#162D4F
#162D4F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.069 H 258.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #162D4F |
|---|---|
| RGB | rgb(22, 45, 79) |
| HSL | hsl(216, 56%, 20%) |
| HSV | hsv(216, 72%, 31%) |
| CMYK | cmyk(72.2%, 43%, 0%, 69%) |
| CIE-LAB | lab(18.42, 3.84, -23.58) |
| CIE-LCH | lch(18.42, 23.89, 279.25°) |
| OKLab | oklab(29.77% -0.0141 -0.0671) |
| OKLCH | oklch(29.77% 0.069 258.1) |
| XYZ | xyz(2.6800, 2.6116, 7.7585) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.19
Marine
#042E60
ΔE00 3.54
Marine Blue
#01386A
ΔE00 5.72
Navy (survey)
#01153E
ΔE00 7.95
Dark
#1B2431
ΔE00 8.54
Twilight Blue
#0A437A
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162D4F #4F3816
analogous
#164A4F #162D4F #1B164F
triadic
#162D4F #4F162D #2D4F16
tetradic
#162D4F #4F164A #4F3816 #164F1B
square
#162D4F #4F164A #4F3816 #164F1B
split-complementary
#162D4F #4F1B16 #4A4F16
monochromatic
#070E18 #09121F #162D4F #23487F #3164AF
Accessibility & contrast
On white
13.79
#162D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#162D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162D4F
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162D4F | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #162d4f; /* rgb */ color: rgb(22, 45, 79); /* oklch */ color: oklch(29.8% 0.069 258.1);
Tailwind
colors: {
custom: {
50: '#5a6580',
500: '#162d4f',
950: '#000000',
},
}SCSS
$custom: #162d4f; $custom-light: #5a6580; $custom-dark: #000000;
JSON
{
"hex": "#162d4f",
"rgb": {
"r": 22,
"g": 45,
"b": 79
},
"hsl": {
"h": 215.789,
"s": 56.436,
"l": 19.804
},
"oklch": {
"l": 0.29774,
"c": 0.06857,
"h": 258.1
},
"luminance": 0.02612
}Semantic roles & 50–950 ramp
primary
#162D4F
secondary
#86683A
accent
#A348E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C