#162F84#162F84
#162F84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.146 H 266.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #162F84 |
|---|---|
| RGB | rgb(22, 47, 132) |
| HSL | hsl(226, 71%, 30%) |
| HSV | hsv(226, 83%, 52%) |
| CMYK | cmyk(83.3%, 64.4%, 0%, 48.2%) |
| CIE-LAB | lab(23.23, 24.41, -50.21) |
| CIE-LCH | lch(23.23, 55.83, 295.93°) |
| OKLab | oklab(34.75% -0.01 -0.1453) |
| OKLCH | oklch(34.75% 0.146 266) |
| XYZ | xyz(5.5108, 3.8689, 22.2816) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.07
Marine
#042E60
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.84
Marine Blue
#01386A
ΔE00 7.26
Royal
#0C1793
ΔE00 7.30
Darkish Blue
#014182
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F84 #846B16
analogous
#166684 #162F84 #341684
triadic
#162F84 #84162F #2F8416
tetradic
#162F84 #841666 #846B16 #168434
square
#162F84 #841666 #846B16 #168434
split-complementary
#162F84 #843416 #668416
monochromatic
#050A1B #0D1C50 #162F84 #1F42B8 #375DDE
Accessibility & contrast
On white
11.84
#162F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#162F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F84
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F84 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #162f84; /* rgb */ color: rgb(22, 47, 132); /* oklch */ color: oklch(34.8% 0.146 266.0);
Tailwind
colors: {
custom: {
50: '#6867a9',
500: '#162f84',
950: '#000000',
},
}SCSS
$custom: #162f84; $custom-light: #6867a9; $custom-dark: #000000;
JSON
{
"hex": "#162f84",
"rgb": {
"r": 22,
"g": 47,
"b": 132
},
"hsl": {
"h": 226.364,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.34752,
"c": 0.14567,
"h": 266
},
"luminance": 0.0387
}Semantic roles & 50–950 ramp
primary
#162F84
secondary
#B89C3D
accent
#C53AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F