#161B9E#161B9E
#161B9E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.200 H 268.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #161B9E |
|---|---|
| RGB | rgb(22, 27, 158) |
| HSL | hsl(238, 76%, 35%) |
| HSV | hsv(238, 86%, 62%) |
| CMYK | cmyk(86.1%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(21.66, 46.17, -68.92) |
| CIE-LCH | lch(21.66, 82.95, 303.82°) |
| OKLab | oklab(34.46% -0.006 -0.1996) |
| OKLCH | oklch(34.46% 0.2 268.3) |
| XYZ | xyz(6.8922, 3.4222, 32.6384) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.84
Cobalt Blue
#030AA7
ΔE00 2.66
Royal Blue (survey)
#0504AA
ΔE00 3.26
Ultramarine
#2000B1
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.28
Darkblue
#00008B
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#161B9E #9E9916
analogous
#165F9E #161B9E #55169E
triadic
#161B9E #9E161B #1B9E16
tetradic
#161B9E #9E165F #9E9916 #169E55
square
#161B9E #9E165F #9E9916 #169E55
split-complementary
#161B9E #9E5516 #5F9E16
monochromatic
#070933 #0F1268 #161B9E #1D24D4 #494FE6
Accessibility & contrast
On white
12.47
#161B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#161B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #161B9E
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##161B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##161B9E | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #161b9e; /* rgb */ color: rgb(22, 27, 158); /* oklch */ color: oklch(34.5% 0.200 268.3);
Tailwind
colors: {
custom: {
50: '#725bbc',
500: '#161b9e',
950: '#000000',
},
}SCSS
$custom: #161b9e; $custom-light: #725bbc; $custom-dark: #000000;
JSON
{
"hex": "#161b9e",
"rgb": {
"r": 22,
"g": 27,
"b": 158
},
"hsl": {
"h": 237.794,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.34462,
"c": 0.1997,
"h": 268.3
},
"luminance": 0.03423
}Semantic roles & 50–950 ramp
primary
#161B9E
secondary
#C7C249
accent
#EB36F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981