#161B8F#161B8F
#161B8F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 269.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #161B8F |
|---|---|
| RGB | rgb(22, 27, 143) |
| HSL | hsl(238, 73%, 32%) |
| HSV | hsv(238, 85%, 56%) |
| CMYK | cmyk(84.6%, 81.1%, 0%, 43.9%) |
| CIE-LAB | lab(19.79, 41.21, -62.77) |
| CIE-LCH | lch(19.79, 75.09, 303.28°) |
| OKLab | oklab(32.62% -0.0032 -0.1818) |
| OKLCH | oklch(32.62% 0.182 269) |
| XYZ | xyz(5.6790, 2.9369, 26.2488) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.05
Cobalt Blue
#030AA7
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.46
Royal Blue (survey)
#0504AA
ΔE00 4.62
Midnight Blue
#191970
ΔE00 4.74
Navy
#000080
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161B8F #8F8A16
analogous
#16578F #161B8F #4E168F
triadic
#161B8F #8F161B #1B8F16
tetradic
#161B8F #8F1657 #8F8A16 #168F4E
square
#161B8F #8F1657 #8F8A16 #168F4E
split-complementary
#161B8F #8F4E16 #578F16
monochromatic
#060725 #0E115A #161B8F #1E25C4 #3E45E1
Accessibility & contrast
On white
13.23
#161B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#161B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161B8F
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161B8F | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #161b8f; /* rgb */ color: rgb(22, 27, 143); /* oklch */ color: oklch(32.6% 0.182 269.0);
Tailwind
colors: {
custom: {
50: '#6d5ab1',
500: '#161b8f',
950: '#000000',
},
}SCSS
$custom: #161b8f; $custom-light: #6d5ab1; $custom-dark: #000000;
JSON
{
"hex": "#161b8f",
"rgb": {
"r": 22,
"g": 27,
"b": 143
},
"hsl": {
"h": 237.521,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32619,
"c": 0.18185,
"h": 269
},
"luminance": 0.02938
}Semantic roles & 50–950 ramp
primary
#161B8F
secondary
#C1BC3F
accent
#E838F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980