#171B76#171B76
#171B76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.150 H 270.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #171B76 |
|---|---|
| RGB | rgb(23, 27, 118) |
| HSL | hsl(237, 67%, 28%) |
| HSV | hsv(237, 81%, 46%) |
| CMYK | cmyk(80.5%, 77.1%, 0%, 53.7%) |
| CIE-LAB | lab(16.86, 32.48, -51.80) |
| CIE-LCH | lch(16.86, 61.14, 302.09°) |
| OKLab | oklab(29.7% 0.0025 -0.15) |
| OKLCH | oklch(29.7% 0.15 270.9) |
| XYZ | xyz(4.0142, 2.2736, 17.3633) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.06
Royal
#0C1793
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 4.55
Darkblue (survey)
#030764
ΔE00 4.99
Deep Blue
#040273
ΔE00 5.13
Navy
#000080
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B76 #767217
analogous
#174A76 #171B76 #431776
triadic
#171B76 #76171B #1B7617
tetradic
#171B76 #76174A #767217 #177643
square
#171B76 #76174A #767217 #177643
split-complementary
#171B76 #764317 #4A7617
monochromatic
#05061A #0D0F43 #171B76 #2127A9 #3138D7
Accessibility & contrast
On white
14.43
#171B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#171B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B76
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B76 | 1.00 | 14.43 | 1.45 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #171b76; /* rgb */ color: rgb(23, 27, 118); /* oklch */ color: oklch(29.7% 0.150 270.9);
Tailwind
colors: {
custom: {
50: '#67589f',
500: '#171b76',
950: '#000000',
},
}SCSS
$custom: #171b76; $custom-light: #67589f; $custom-dark: #000000;
JSON
{
"hex": "#171b76",
"rgb": {
"r": 23,
"g": 27,
"b": 118
},
"hsl": {
"h": 237.474,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.29697,
"c": 0.15001,
"h": 270.9
},
"luminance": 0.02274
}Semantic roles & 50–950 ramp
primary
#171B76
secondary
#ABA73E
accent
#E33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E