#161D8F#161D8F
#161D8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 268.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #161D8F |
|---|---|
| RGB | rgb(22, 29, 143) |
| HSL | hsl(237, 73%, 32%) |
| HSV | hsv(237, 85%, 56%) |
| CMYK | cmyk(84.6%, 79.7%, 0%, 43.9%) |
| CIE-LAB | lab(20.17, 40.11, -62.14) |
| CIE-LCH | lch(20.17, 73.95, 302.84°) |
| OKLab | oklab(32.89% -0.0037 -0.18) |
| OKLCH | oklch(32.89% 0.18 268.8) |
| XYZ | xyz(5.7265, 3.0318, 26.2647) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.44
Cobalt Blue
#030AA7
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.75
Darkblue
#00008B
ΔE00 4.91
Royal Blue (survey)
#0504AA
ΔE00 4.93
Navy
#000080
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161D8F #8F8816
analogous
#16598F #161D8F #4C168F
triadic
#161D8F #8F161D #1D8F16
tetradic
#161D8F #8F1659 #8F8816 #168F4C
square
#161D8F #8F1659 #8F8816 #168F4C
split-complementary
#161D8F #8F4C16 #598F16
monochromatic
#060725 #0E125A #161D8F #1E28C4 #3E48E1
Accessibility & contrast
On white
13.07
#161D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#161D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161D8F
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161D8F | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #161d8f; /* rgb */ color: rgb(22, 29, 143); /* oklch */ color: oklch(32.9% 0.180 268.8);
Tailwind
colors: {
custom: {
50: '#6d5bb1',
500: '#161d8f',
950: '#000000',
},
}SCSS
$custom: #161d8f; $custom-light: #6d5bb1; $custom-dark: #000000;
JSON
{
"hex": "#161d8f",
"rgb": {
"r": 22,
"g": 29,
"b": 143
},
"hsl": {
"h": 236.529,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32886,
"c": 0.18006,
"h": 268.8
},
"luminance": 0.03032
}Semantic roles & 50–950 ramp
primary
#161D8F
secondary
#C1BA3F
accent
#E538F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980