#162F52#162F52
#162F52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.071 H 257.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #162F52 |
|---|---|
| RGB | rgb(22, 47, 82) |
| HSL | hsl(215, 58%, 20%) |
| HSV | hsv(215, 73%, 32%) |
| CMYK | cmyk(73.2%, 42.7%, 0%, 67.8%) |
| CIE-LAB | lab(19.28, 3.64, -24.23) |
| CIE-LCH | lch(19.28, 24.50, 278.54°) |
| OKLab | oklab(30.51% -0.0157 -0.069) |
| OKLCH | oklch(30.51% 0.071 257.2) |
| XYZ | xyz(2.8698, 2.8125, 8.3726) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.89
Marine
#042E60
ΔE00 3.09
Marine Blue
#01386A
ΔE00 4.96
Twilight Blue
#0A437A
ΔE00 8.20
Darkish Blue
#014182
ΔE00 8.45
Navy (survey)
#01153E
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F52 #523916
analogous
#164D52 #162F52 #1B1652
triadic
#162F52 #52162F #2F5216
tetradic
#162F52 #52164D #523916 #16521B
square
#162F52 #52164D #523916 #16521B
split-complementary
#162F52 #521B16 #4D5216
monochromatic
#060E18 #091322 #162F52 #234B82 #3066B3
Accessibility & contrast
On white
13.44
#162F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#162F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F52
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F52 | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #162f52; /* rgb */ color: rgb(22, 47, 82); /* oklch */ color: oklch(30.5% 0.071 257.2);
Tailwind
colors: {
custom: {
50: '#5b6783',
500: '#162f52',
950: '#000000',
},
}SCSS
$custom: #162f52; $custom-light: #5b6783; $custom-dark: #000000;
JSON
{
"hex": "#162f52",
"rgb": {
"r": 22,
"g": 47,
"b": 82
},
"hsl": {
"h": 215,
"s": 57.692,
"l": 20.392
},
"oklch": {
"l": 0.30505,
"c": 0.07072,
"h": 257.2
},
"luminance": 0.02813
}Semantic roles & 50–950 ramp
primary
#162F52
secondary
#89683A
accent
#A147E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C