#162772#162772
#162772 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.131 H 267.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #162772 |
|---|---|
| RGB | rgb(22, 39, 114) |
| HSL | hsl(229, 68%, 27%) |
| HSV | hsv(229, 81%, 45%) |
| CMYK | cmyk(80.7%, 65.8%, 0%, 55.3%) |
| CIE-LAB | lab(19.38, 22.77, -45.09) |
| CIE-LCH | lch(19.38, 50.51, 296.79°) |
| OKLab | oklab(31.38% -0.0048 -0.1304) |
| OKLCH | oklch(31.38% 0.131 267.9) |
| XYZ | xyz(4.0926, 2.8361, 16.2480) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.51
Marine
#042E60
ΔE00 5.94
Royal
#0C1793
ΔE00 7.35
Marine Blue
#01386A
ΔE00 8.20
Navy Blue
#1B2A4A
ΔE00 8.34
Darkblue (survey)
#030764
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162772 #726116
analogous
#165572 #162772 #331672
triadic
#162772 #721627 #277216
tetradic
#162772 #721655 #726116 #167233
square
#162772 #721655 #726116 #167233
split-complementary
#162772 #723316 #557216
monochromatic
#05091A #0C153F #162772 #2039A5 #2C4CD6
Accessibility & contrast
On white
13.40
#162772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#162772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162772
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162772 | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #162772; /* rgb */ color: rgb(22, 39, 114); /* oklch */ color: oklch(31.4% 0.131 267.9);
Tailwind
colors: {
custom: {
50: '#64609b',
500: '#162772',
950: '#000000',
},
}SCSS
$custom: #162772; $custom-light: #64609b; $custom-dark: #000000;
JSON
{
"hex": "#162772",
"rgb": {
"r": 22,
"g": 39,
"b": 114
},
"hsl": {
"h": 228.913,
"s": 67.647,
"l": 26.667
},
"oklch": {
"l": 0.31379,
"c": 0.1305,
"h": 267.9
},
"luminance": 0.02837
}Semantic roles & 50–950 ramp
primary
#162772
secondary
#A8943C
accent
#CB3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E