#162281#162281
#162281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.157 H 268.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #162281 |
|---|---|
| RGB | rgb(22, 34, 129) |
| HSL | hsl(233, 71%, 30%) |
| HSV | hsv(233, 83%, 51%) |
| CMYK | cmyk(82.9%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.63, 32.03, -54.24) |
| CIE-LCH | lch(19.63, 62.99, 300.57°) |
| OKLab | oklab(32.03% -0.0032 -0.1571) |
| OKLCH | oklch(32.03% 0.157 268.8) |
| XYZ | xyz(4.8640, 2.8990, 21.0678) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 3.98
Dark Royal Blue
#02066F
ΔE00 6.54
Darkblue
#00008B
ΔE00 6.71
Navy
#000080
ΔE00 6.82
Deep Blue
#040273
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162281 #817516
analogous
#165881 #162281 #401681
triadic
#162281 #811622 #228116
tetradic
#162281 #811658 #817516 #168140
square
#162281 #811658 #817516 #168140
split-complementary
#162281 #814016 #588116
monochromatic
#04071A #0D144D #162281 #1F30B5 #3548DD
Accessibility & contrast
On white
13.29
#162281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#162281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162281
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162281 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162281; /* rgb */ color: rgb(22, 34, 129); /* oklch */ color: oklch(32.0% 0.157 268.8);
Tailwind
colors: {
custom: {
50: '#695da7',
500: '#162281',
950: '#000000',
},
}SCSS
$custom: #162281; $custom-light: #695da7; $custom-dark: #000000;
JSON
{
"hex": "#162281",
"rgb": {
"r": 22,
"g": 34,
"b": 129
},
"hsl": {
"h": 233.271,
"s": 70.861,
"l": 29.608
},
"oklch": {
"l": 0.32032,
"c": 0.15717,
"h": 268.8
},
"luminance": 0.029
}Semantic roles & 50–950 ramp
primary
#162281
secondary
#B6A83D
accent
#D93AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F