#161B7F#161B7F
#161B7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.162 H 269.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #161B7F |
|---|---|
| RGB | rgb(22, 27, 127) |
| HSL | hsl(237, 70%, 29%) |
| HSV | hsv(237, 83%, 50%) |
| CMYK | cmyk(82.7%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.86, 35.65, -55.91) |
| CIE-LCH | lch(17.86, 66.31, 302.52°) |
| OKLab | oklab(30.7% -0.0002 -0.1619) |
| OKLCH | oklch(30.7% 0.162 269.9) |
| XYZ | xyz(4.5523, 2.4862, 20.3145) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.11
Dark Royal Blue
#02066F
ΔE00 4.79
Navy
#000080
ΔE00 4.99
Darkblue
#00008B
ΔE00 5.02
Deep Blue
#040273
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161B7F #7F7A16
analogous
#16507F #161B7F #46167F
triadic
#161B7F #7F161B #1B7F16
tetradic
#161B7F #7F1650 #7F7A16 #167F46
square
#161B7F #7F1650 #7F7A16 #167F46
split-complementary
#161B7F #7F4616 #507F16
monochromatic
#05061A #0D104B #161B7F #1F26B3 #343CDC
Accessibility & contrast
On white
14.02
#161B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#161B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161B7F
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161B7F | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #161b7f; /* rgb */ color: rgb(22, 27, 127); /* oklch */ color: oklch(30.7% 0.162 269.9);
Tailwind
colors: {
custom: {
50: '#6959a5',
500: '#161b7f',
950: '#000000',
},
}SCSS
$custom: #161b7f; $custom-light: #6959a5; $custom-dark: #000000;
JSON
{
"hex": "#161b7f",
"rgb": {
"r": 22,
"g": 27,
"b": 127
},
"hsl": {
"h": 237.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30696,
"c": 0.16195,
"h": 269.9
},
"luminance": 0.02487
}Semantic roles & 50–950 ramp
primary
#161B7F
secondary
#B4AE3D
accent
#E53BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F