#16217F#16217F
#16217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.156 H 269.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #16217F |
|---|---|
| RGB | rgb(22, 33, 127) |
| HSL | hsl(234, 70%, 29%) |
| HSV | hsv(234, 83%, 50%) |
| CMYK | cmyk(82.7%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.18, 31.93, -53.72) |
| CIE-LCH | lch(19.18, 62.49, 300.73°) |
| OKLab | oklab(31.64% -0.0026 -0.1556) |
| OKLCH | oklch(31.64% 0.156 269.1) |
| XYZ | xyz(4.7042, 2.7900, 20.3652) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Royal
#0C1793
ΔE00 4.04
Dark Royal Blue
#02066F
ΔE00 6.23
Darkblue
#00008B
ΔE00 6.58
Navy
#000080
ΔE00 6.62
Deep Blue
#040273
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16217F #7F7416
analogous
#16567F #16217F #40167F
triadic
#16217F #7F1621 #217F16
tetradic
#16217F #7F1656 #7F7416 #167F40
square
#16217F #7F1656 #7F7416 #167F40
split-complementary
#16217F #7F4016 #567F16
monochromatic
#05071A #0D134B #16217F #1F2FB3 #3445DC
Accessibility & contrast
On white
13.48
#16217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#16217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16217F
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16217F | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #16217f; /* rgb */ color: rgb(22, 33, 127); /* oklch */ color: oklch(31.6% 0.156 269.1);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#16217f',
950: '#000000',
},
}SCSS
$custom: #16217f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#16217f",
"rgb": {
"r": 22,
"g": 33,
"b": 127
},
"hsl": {
"h": 233.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31642,
"c": 0.15564,
"h": 269.1
},
"luminance": 0.02791
}Semantic roles & 50–950 ramp
primary
#16217F
secondary
#B4A73D
accent
#DB3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F