#171B74#171B74
#171B74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.147 H 271.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #171B74 |
|---|---|
| RGB | rgb(23, 27, 116) |
| HSL | hsl(237, 67%, 27%) |
| HSV | hsv(237, 80%, 45%) |
| CMYK | cmyk(80.2%, 76.7%, 0%, 54.5%) |
| CIE-LAB | lab(16.63, 31.74, -50.89) |
| CIE-LCH | lch(16.63, 59.97, 301.96°) |
| OKLab | oklab(29.47% 0.0028 -0.1473) |
| OKLCH | oklch(29.47% 0.147 271.1) |
| XYZ | xyz(3.8966, 2.2266, 16.7440) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.82
Dark Royal Blue
#02066F
ΔE00 4.57
Royal
#0C1793
ΔE00 4.85
Darkblue (survey)
#030764
ΔE00 4.88
Deep Blue
#040273
ΔE00 5.20
Navy
#000080
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B74 #747017
analogous
#174A74 #171B74 #411774
triadic
#171B74 #74171B #1B7417
tetradic
#171B74 #74174A #747017 #177441
square
#171B74 #74174A #747017 #177441
split-complementary
#171B74 #744117 #4A7417
monochromatic
#05061A #0D0F41 #171B74 #2127A7 #3037D6
Accessibility & contrast
On white
14.53
#171B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#171B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B74
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B74 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171b74; /* rgb */ color: rgb(23, 27, 116); /* oklch */ color: oklch(29.5% 0.147 271.1);
Tailwind
colors: {
custom: {
50: '#66589d',
500: '#171b74',
950: '#000000',
},
}SCSS
$custom: #171b74; $custom-light: #66589d; $custom-dark: #000000;
JSON
{
"hex": "#171b74",
"rgb": {
"r": 23,
"g": 27,
"b": 116
},
"hsl": {
"h": 237.419,
"s": 66.906,
"l": 27.255
},
"oklch": {
"l": 0.29466,
"c": 0.14736,
"h": 271.1
},
"luminance": 0.02227
}Semantic roles & 50–950 ramp
primary
#171B74
secondary
#A9A53D
accent
#E23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E