#171B77#171B77
#171B77 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.151 H 270.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #171B77 |
|---|---|
| RGB | rgb(23, 27, 119) |
| HSL | hsl(238, 68%, 28%) |
| HSV | hsv(238, 81%, 47%) |
| CMYK | cmyk(80.7%, 77.3%, 0%, 53.3%) |
| CIE-LAB | lab(16.98, 32.84, -52.25) |
| CIE-LCH | lch(16.98, 61.71, 302.15°) |
| OKLab | oklab(29.81% 0.0023 -0.1513) |
| OKLCH | oklch(29.81% 0.151 270.9) |
| XYZ | xyz(4.0739, 2.2975, 17.6779) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.19
Royal
#0C1793
ΔE00 4.36
Dark Royal Blue
#02066F
ΔE00 4.55
Darkblue (survey)
#030764
ΔE00 5.04
Deep Blue
#040273
ΔE00 5.11
Navy
#000080
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B77 #777317
analogous
#174B77 #171B77 #431777
triadic
#171B77 #77171B #1B7717
tetradic
#171B77 #77174B #777317 #177743
square
#171B77 #77174B #777317 #177743
split-complementary
#171B77 #774317 #4B7717
monochromatic
#05061A #0D0F44 #171B77 #2127AA #3138D7
Accessibility & contrast
On white
14.39
#171B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#171B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B77
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B77 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #171b77; /* rgb */ color: rgb(23, 27, 119); /* oklch */ color: oklch(29.8% 0.151 270.9);
Tailwind
colors: {
custom: {
50: '#67589f',
500: '#171b77',
950: '#000000',
},
}SCSS
$custom: #171b77; $custom-light: #67589f; $custom-dark: #000000;
JSON
{
"hex": "#171b77",
"rgb": {
"r": 23,
"g": 27,
"b": 119
},
"hsl": {
"h": 237.5,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.29812,
"c": 0.15132,
"h": 270.9
},
"luminance": 0.02298
}Semantic roles & 50–950 ramp
primary
#171B77
secondary
#ACA83E
accent
#E33DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E