#16217B#16217B
#16217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.150 H 269.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #16217B |
|---|---|
| RGB | rgb(22, 33, 123) |
| HSL | hsl(233, 70%, 28%) |
| HSV | hsv(233, 82%, 48%) |
| CMYK | cmyk(82.1%, 73.2%, 0%, 51.8%) |
| CIE-LAB | lab(18.75, 30.42, -51.89) |
| CIE-LCH | lch(18.75, 60.15, 300.38°) |
| OKLab | oklab(31.2% -0.0021 -0.1503) |
| OKLCH | oklch(31.2% 0.15 269.2) |
| XYZ | xyz(4.4487, 2.6878, 19.0194) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Royal
#0C1793
ΔE00 4.61
Dark Royal Blue
#02066F
ΔE00 6.19
Darkblue (survey)
#030764
ΔE00 6.65
Deep Blue
#040273
ΔE00 6.73
Navy
#000080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16217B #7B7016
analogous
#16537B #16217B #3D167B
triadic
#16217B #7B1621 #217B16
tetradic
#16217B #7B1653 #7B7016 #167B3D
square
#16217B #7B1653 #7B7016 #167B3D
split-complementary
#16217B #7B3D16 #537B16
monochromatic
#05071A #0D1347 #16217B #1F2FAF #3144DA
Accessibility & contrast
On white
13.66
#16217B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#16217B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16217B
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16217B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16217B | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #16217b; /* rgb */ color: rgb(22, 33, 123); /* oklch */ color: oklch(31.2% 0.150 269.2);
Tailwind
colors: {
custom: {
50: '#675ca2',
500: '#16217b',
950: '#000000',
},
}SCSS
$custom: #16217b; $custom-light: #675ca2; $custom-dark: #000000;
JSON
{
"hex": "#16217b",
"rgb": {
"r": 22,
"g": 33,
"b": 123
},
"hsl": {
"h": 233.465,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.31199,
"c": 0.15031,
"h": 269.2
},
"luminance": 0.02688
}Semantic roles & 50–950 ramp
primary
#16217B
secondary
#B0A43D
accent
#D93BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F