#16227F#16227F
#16227F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.155 H 268.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #16227F |
|---|---|
| RGB | rgb(22, 34, 127) |
| HSL | hsl(233, 70%, 29%) |
| HSV | hsv(233, 83%, 50%) |
| CMYK | cmyk(82.7%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.42, 31.28, -53.33) |
| CIE-LCH | lch(19.42, 61.83, 300.39°) |
| OKLab | oklab(31.81% -0.003 -0.1545) |
| OKLCH | oklch(31.81% 0.155 268.9) |
| XYZ | xyz(4.7323, 2.8464, 20.3746) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Royal
#0C1793
ΔE00 4.25
Dark Royal Blue
#02066F
ΔE00 6.50
Darkblue
#00008B
ΔE00 6.86
Navy
#000080
ΔE00 6.91
Deep Blue
#040273
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16227F #7F7316
analogous
#16577F #16227F #3F167F
triadic
#16227F #7F1622 #227F16
tetradic
#16227F #7F1657 #7F7316 #167F3F
square
#16227F #7F1657 #7F7316 #167F3F
split-complementary
#16227F #7F3F16 #577F16
monochromatic
#05071A #0D144B #16227F #1F30B3 #3447DC
Accessibility & contrast
On white
13.38
#16227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#16227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16227F
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16227F | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #16227f; /* rgb */ color: rgb(22, 34, 127); /* oklch */ color: oklch(31.8% 0.155 268.9);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#16227f',
950: '#000000',
},
}SCSS
$custom: #16227f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#16227f",
"rgb": {
"r": 22,
"g": 34,
"b": 127
},
"hsl": {
"h": 233.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31811,
"c": 0.15452,
"h": 268.9
},
"luminance": 0.02847
}Semantic roles & 50–950 ramp
primary
#16227F
secondary
#B4A63D
accent
#D93BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F