#171B75#171B75
#171B75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.149 H 271.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #171B75 |
|---|---|
| RGB | rgb(23, 27, 117) |
| HSL | hsl(237, 67%, 27%) |
| HSV | hsv(237, 80%, 46%) |
| CMYK | cmyk(80.3%, 76.9%, 0%, 54.1%) |
| CIE-LAB | lab(16.75, 32.11, -51.34) |
| CIE-LCH | lch(16.75, 60.56, 302.02°) |
| OKLab | oklab(29.58% 0.0026 -0.1487) |
| OKLCH | oklch(29.58% 0.149 271) |
| XYZ | xyz(3.9551, 2.2499, 17.0520) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.93
Dark Royal Blue
#02066F
ΔE00 4.56
Royal
#0C1793
ΔE00 4.69
Darkblue (survey)
#030764
ΔE00 4.93
Deep Blue
#040273
ΔE00 5.16
Navy
#000080
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B75 #757117
analogous
#174A75 #171B75 #421775
triadic
#171B75 #75171B #1B7517
tetradic
#171B75 #75174A #757117 #177542
square
#171B75 #75174A #757117 #177542
split-complementary
#171B75 #754217 #4A7517
monochromatic
#05061A #0D0F42 #171B75 #2127A8 #3037D6
Accessibility & contrast
On white
14.48
#171B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#171B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B75
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B75 | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #171b75; /* rgb */ color: rgb(23, 27, 117); /* oklch */ color: oklch(29.6% 0.149 271.0);
Tailwind
colors: {
custom: {
50: '#66589e',
500: '#171b75',
950: '#000000',
},
}SCSS
$custom: #171b75; $custom-light: #66589e; $custom-dark: #000000;
JSON
{
"hex": "#171b75",
"rgb": {
"r": 23,
"g": 27,
"b": 117
},
"hsl": {
"h": 237.447,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29581,
"c": 0.14868,
"h": 271
},
"luminance": 0.0225
}Semantic roles & 50–950 ramp
primary
#171B75
secondary
#AAA63D
accent
#E33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E