#162552#162552
#162552 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.085 H 267.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #162552 |
|---|---|
| RGB | rgb(22, 37, 82) |
| HSL | hsl(225, 58%, 20%) |
| HSV | hsv(225, 73%, 32%) |
| CMYK | cmyk(73.2%, 54.9%, 0%, 67.8%) |
| CIE-LAB | lab(16.02, 10.99, -29.44) |
| CIE-LCH | lch(16.02, 31.43, 290.46°) |
| OKLab | oklab(28% -0.0045 -0.0845) |
| OKLCH | oklch(28% 0.085 267) |
| XYZ | xyz(2.5149, 2.1027, 8.2543) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.67
Marine
#042E60
ΔE00 4.85
Navy (survey)
#01153E
ΔE00 5.14
Navy Blue (survey)
#001146
ΔE00 6.25
Marine Blue
#01386A
ΔE00 8.29
Dark Navy
#000435
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162552 #524316
analogous
#164352 #162552 #251652
triadic
#162552 #521625 #255216
tetradic
#162552 #521643 #524316 #165225
square
#162552 #521643 #524316 #165225
split-complementary
#162552 #522516 #435216
monochromatic
#060B18 #090F22 #162552 #233B82 #3051B3
Accessibility & contrast
On white
14.78
#162552 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#162552 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162552
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162552 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162552 | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #162552; /* rgb */ color: rgb(22, 37, 82); /* oklch */ color: oklch(28.0% 0.085 267.0);
Tailwind
colors: {
custom: {
50: '#5b5f83',
500: '#162552',
950: '#000000',
},
}SCSS
$custom: #162552; $custom-light: #5b5f83; $custom-dark: #000000;
JSON
{
"hex": "#162552",
"rgb": {
"r": 22,
"g": 37,
"b": 82
},
"hsl": {
"h": 225,
"s": 57.692,
"l": 20.392
},
"oklch": {
"l": 0.27998,
"c": 0.08459,
"h": 267
},
"luminance": 0.02103
}Semantic roles & 50–950 ramp
primary
#162552
secondary
#89763A
accent
#BA47E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C