#162187#162187
#162187 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.166 H 268.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #162187 |
|---|---|
| RGB | rgb(22, 33, 135) |
| HSL | hsl(234, 72%, 31%) |
| HSV | hsv(234, 84%, 53%) |
| CMYK | cmyk(83.7%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(20.07, 34.89, -57.30) |
| CIE-LCH | lch(20.07, 67.09, 301.34°) |
| OKLab | oklab(32.54% -0.0036 -0.166) |
| OKLCH | oklch(32.54% 0.166 268.8) |
| XYZ | xyz(5.2464, 3.0069, 23.2209) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.03
Midnight Blue
#191970
ΔE00 3.87
Cobalt Blue
#030AA7
ΔE00 5.99
Darkblue
#00008B
ΔE00 6.08
Navy
#000080
ΔE00 6.41
Dark Royal Blue
#02066F
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162187 #877C16
analogous
#165987 #162187 #431687
triadic
#162187 #871621 #218716
tetradic
#162187 #871659 #877C16 #168743
square
#162187 #871659 #877C16 #168743
split-complementary
#162187 #874316 #598716
monochromatic
#05071E #0D1452 #162187 #1F2EBC #3949DF
Accessibility & contrast
On white
13.11
#162187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#162187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162187
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162187 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162187; /* rgb */ color: rgb(22, 33, 135); /* oklch */ color: oklch(32.5% 0.166 268.8);
Tailwind
colors: {
custom: {
50: '#6b5dab',
500: '#162187',
950: '#000000',
},
}SCSS
$custom: #162187; $custom-light: #6b5dab; $custom-dark: #000000;
JSON
{
"hex": "#162187",
"rgb": {
"r": 22,
"g": 33,
"b": 135
},
"hsl": {
"h": 234.159,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.32543,
"c": 0.16608,
"h": 268.8
},
"luminance": 0.03008
}Semantic roles & 50–950 ramp
primary
#162187
secondary
#BBAF3E
accent
#DD39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F