#162287#162287
#162287 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.165 H 268.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #162287 |
|---|---|
| RGB | rgb(22, 34, 135) |
| HSL | hsl(234, 72%, 31%) |
| HSV | hsv(234, 84%, 53%) |
| CMYK | cmyk(83.7%, 74.8%, 0%, 47.1%) |
| CIE-LAB | lab(20.30, 34.27, -56.93) |
| CIE-LCH | lch(20.30, 66.45, 301.05°) |
| OKLab | oklab(32.7% -0.004 -0.165) |
| OKLCH | oklch(32.7% 0.165 268.6) |
| XYZ | xyz(5.2746, 3.0633, 23.2302) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 3.99
Cobalt Blue
#030AA7
ΔE00 6.18
Darkblue
#00008B
ΔE00 6.35
Navy
#000080
ΔE00 6.68
Dark Royal Blue
#02066F
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162287 #877B16
analogous
#165A87 #162287 #421687
triadic
#162287 #871622 #228716
tetradic
#162287 #87165A #877B16 #168742
square
#162287 #87165A #877B16 #168742
split-complementary
#162287 #874216 #5A8716
monochromatic
#05071E #0D1552 #162287 #1F2FBC #394ADF
Accessibility & contrast
On white
13.02
#162287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#162287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162287
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162287 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #162287; /* rgb */ color: rgb(22, 34, 135); /* oklch */ color: oklch(32.7% 0.165 268.6);
Tailwind
colors: {
custom: {
50: '#6a5eab',
500: '#162287',
950: '#000000',
},
}SCSS
$custom: #162287; $custom-light: #6a5eab; $custom-dark: #000000;
JSON
{
"hex": "#162287",
"rgb": {
"r": 22,
"g": 34,
"b": 135
},
"hsl": {
"h": 233.628,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.32703,
"c": 0.16502,
"h": 268.6
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#162287
secondary
#BBAE3E
accent
#DB39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F