#16237F#16237F
#16237F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.153 H 268.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #16237F |
|---|---|
| RGB | rgb(22, 35, 127) |
| HSL | hsl(233, 70%, 29%) |
| HSV | hsv(233, 83%, 50%) |
| CMYK | cmyk(82.7%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.66, 30.62, -52.94) |
| CIE-LCH | lch(19.66, 61.16, 300.05°) |
| OKLab | oklab(31.98% -0.0034 -0.1533) |
| OKLCH | oklch(31.98% 0.153 268.7) |
| XYZ | xyz(4.7614, 2.9044, 20.3842) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 4.47
Dark Royal Blue
#02066F
ΔE00 6.78
Darkblue
#00008B
ΔE00 7.15
Navy
#000080
ΔE00 7.21
Deep Blue
#040273
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16237F #7F7216
analogous
#16587F #16237F #3D167F
triadic
#16237F #7F1623 #237F16
tetradic
#16237F #7F1658 #7F7216 #167F3D
square
#16237F #7F1658 #7F7216 #167F3D
split-complementary
#16237F #7F3D16 #587F16
monochromatic
#05071A #0D154B #16237F #1F31B3 #3448DC
Accessibility & contrast
On white
13.28
#16237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#16237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16237F
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16237F | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #16237f; /* rgb */ color: rgb(22, 35, 127); /* oklch */ color: oklch(32.0% 0.153 268.7);
Tailwind
colors: {
custom: {
50: '#685ea5',
500: '#16237f',
950: '#000000',
},
}SCSS
$custom: #16237f; $custom-light: #685ea5; $custom-dark: #000000;
JSON
{
"hex": "#16237f",
"rgb": {
"r": 22,
"g": 35,
"b": 127
},
"hsl": {
"h": 232.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31983,
"c": 0.15339,
"h": 268.7
},
"luminance": 0.02905
}Semantic roles & 50–950 ramp
primary
#16237F
secondary
#B4A53D
accent
#D73BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F