#161C8F#161C8F
#161C8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.181 H 268.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #161C8F |
|---|---|
| RGB | rgb(22, 28, 143) |
| HSL | hsl(237, 73%, 32%) |
| HSV | hsv(237, 85%, 56%) |
| CMYK | cmyk(84.6%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(19.98, 40.66, -62.46) |
| CIE-LCH | lch(19.98, 74.53, 303.07°) |
| OKLab | oklab(32.75% -0.0034 -0.1809) |
| OKLCH | oklch(32.75% 0.181 268.9) |
| XYZ | xyz(5.7024, 2.9836, 26.2566) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.23
Cobalt Blue
#030AA7
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.68
Midnight Blue
#191970
ΔE00 4.74
Royal Blue (survey)
#0504AA
ΔE00 4.77
Navy
#000080
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161C8F #8F8916
analogous
#16588F #161C8F #4D168F
triadic
#161C8F #8F161C #1C8F16
tetradic
#161C8F #8F1658 #8F8916 #168F4D
square
#161C8F #8F1658 #8F8916 #168F4D
split-complementary
#161C8F #8F4D16 #588F16
monochromatic
#060725 #0E125A #161C8F #1E26C4 #3E46E1
Accessibility & contrast
On white
13.15
#161C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#161C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161C8F
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161C8F | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #161c8f; /* rgb */ color: rgb(22, 28, 143); /* oklch */ color: oklch(32.8% 0.181 268.9);
Tailwind
colors: {
custom: {
50: '#6d5ab1',
500: '#161c8f',
950: '#000000',
},
}SCSS
$custom: #161c8f; $custom-light: #6d5ab1; $custom-dark: #000000;
JSON
{
"hex": "#161c8f",
"rgb": {
"r": 22,
"g": 28,
"b": 143
},
"hsl": {
"h": 237.025,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32751,
"c": 0.18096,
"h": 268.9
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#161C8F
secondary
#C1BB3F
accent
#E738F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980