#161E7F#161E7F
#161E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 269.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #161E7F |
|---|---|
| RGB | rgb(22, 30, 127) |
| HSL | hsl(235, 70%, 29%) |
| HSV | hsv(235, 83%, 50%) |
| CMYK | cmyk(82.7%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(18.50, 33.83, -54.84) |
| CIE-LCH | lch(18.50, 64.44, 301.67°) |
| OKLab | oklab(31.15% -0.0013 -0.1589) |
| OKLCH | oklch(31.15% 0.159 269.5) |
| XYZ | xyz(4.6246, 2.6309, 20.3386) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.55
Royal
#0C1793
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 5.47
Darkblue
#00008B
ΔE00 5.77
Navy
#000080
ΔE00 5.77
Deep Blue
#040273
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161E7F #7F7716
analogous
#16537F #161E7F #43167F
triadic
#161E7F #7F161E #1E7F16
tetradic
#161E7F #7F1653 #7F7716 #167F43
square
#161E7F #7F1653 #7F7716 #167F43
split-complementary
#161E7F #7F4316 #537F16
monochromatic
#05061A #0D124B #161E7F #1F2AB3 #3440DC
Accessibility & contrast
On white
13.76
#161E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#161E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161E7F
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161E7F | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #161e7f; /* rgb */ color: rgb(22, 30, 127); /* oklch */ color: oklch(31.2% 0.159 269.5);
Tailwind
colors: {
custom: {
50: '#695ba5',
500: '#161e7f',
950: '#000000',
},
}SCSS
$custom: #161e7f; $custom-light: #695ba5; $custom-dark: #000000;
JSON
{
"hex": "#161e7f",
"rgb": {
"r": 22,
"g": 30,
"b": 127
},
"hsl": {
"h": 235.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31153,
"c": 0.15889,
"h": 269.5
},
"luminance": 0.02631
}Semantic roles & 50–950 ramp
primary
#161E7F
secondary
#B4AB3D
accent
#E03BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F