#16227B#16227B
#16227B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 269.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #16227B |
|---|---|
| RGB | rgb(22, 34, 123) |
| HSL | hsl(233, 70%, 28%) |
| HSV | hsv(233, 82%, 48%) |
| CMYK | cmyk(82.1%, 72.4%, 0%, 51.8%) |
| CIE-LAB | lab(18.99, 29.76, -51.49) |
| CIE-LCH | lch(18.99, 59.47, 300.02°) |
| OKLab | oklab(31.37% -0.0026 -0.1491) |
| OKLCH | oklch(31.37% 0.149 269) |
| XYZ | xyz(4.4768, 2.7442, 19.0288) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.87
Royal
#0C1793
ΔE00 4.82
Dark Royal Blue
#02066F
ΔE00 6.48
Darkblue (survey)
#030764
ΔE00 6.90
Deep Blue
#040273
ΔE00 7.03
Navy
#000080
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16227B #7B6F16
analogous
#16547B #16227B #3C167B
triadic
#16227B #7B1622 #227B16
tetradic
#16227B #7B1654 #7B6F16 #167B3C
square
#16227B #7B1654 #7B6F16 #167B3C
split-complementary
#16227B #7B3C16 #547B16
monochromatic
#05071A #0D1447 #16227B #1F30AF #3145DA
Accessibility & contrast
On white
13.56
#16227B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#16227B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16227B
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16227B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16227B | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #16227b; /* rgb */ color: rgb(22, 34, 123); /* oklch */ color: oklch(31.4% 0.149 269.0);
Tailwind
colors: {
custom: {
50: '#675da2',
500: '#16227b',
950: '#000000',
},
}SCSS
$custom: #16227b; $custom-light: #675da2; $custom-dark: #000000;
JSON
{
"hex": "#16227b",
"rgb": {
"r": 22,
"g": 34,
"b": 123
},
"hsl": {
"h": 232.871,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.31373,
"c": 0.14916,
"h": 269
},
"luminance": 0.02745
}Semantic roles & 50–950 ramp
primary
#16227B
secondary
#B0A23D
accent
#D73BEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F