#171B70#171B70
#171B70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.142 H 271.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #171B70 |
|---|---|
| RGB | rgb(23, 27, 112) |
| HSL | hsl(237, 66%, 26%) |
| HSV | hsv(237, 79%, 44%) |
| CMYK | cmyk(79.5%, 75.9%, 0%, 56.1%) |
| CIE-LAB | lab(16.18, 30.26, -49.04) |
| CIE-LCH | lch(16.18, 57.63, 301.68°) |
| OKLab | oklab(29.01% 0.0035 -0.142) |
| OKLCH | oklch(29.01% 0.142 271.4) |
| XYZ | xyz(3.6689, 2.1355, 15.5449) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.68
Dark Royal Blue
#02066F
ΔE00 4.69
Darkblue (survey)
#030764
ΔE00 4.75
Deep Blue
#040273
ΔE00 5.41
Royal
#0C1793
ΔE00 5.52
Navy
#000080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B70 #706C17
analogous
#174870 #171B70 #401770
triadic
#171B70 #70171B #1B7017
tetradic
#171B70 #701748 #706C17 #177040
square
#171B70 #701748 #706C17 #177040
split-complementary
#171B70 #704017 #487017
monochromatic
#050619 #0D0F3D #171B70 #2127A3 #2D35D4
Accessibility & contrast
On white
14.71
#171B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#171B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B70
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B70 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #171b70; /* rgb */ color: rgb(23, 27, 112); /* oklch */ color: oklch(29.0% 0.142 271.4);
Tailwind
colors: {
custom: {
50: '#65589a',
500: '#171b70',
950: '#000000',
},
}SCSS
$custom: #171b70; $custom-light: #65589a; $custom-dark: #000000;
JSON
{
"hex": "#171b70",
"rgb": {
"r": 23,
"g": 27,
"b": 112
},
"hsl": {
"h": 237.303,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.2901,
"c": 0.14201,
"h": 271.4
},
"luminance": 0.02136
}Semantic roles & 50–950 ramp
primary
#171B70
secondary
#A6A13D
accent
#E13FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E