#171B96#171B96
#171B96 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.190 H 268.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #171B96 |
|---|---|
| RGB | rgb(23, 27, 150) |
| HSL | hsl(238, 73%, 34%) |
| HSV | hsv(238, 85%, 59%) |
| CMYK | cmyk(84.7%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(20.70, 43.60, -65.59) |
| CIE-LCH | lch(20.70, 78.76, 303.61°) |
| OKLab | oklab(33.52% -0.0035 -0.19) |
| OKLCH | oklch(33.52% 0.19 268.9) |
| XYZ | xyz(6.2484, 3.1673, 29.1303) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.05
Cobalt Blue
#030AA7
ΔE00 3.26
Royal Blue (survey)
#0504AA
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.65
Ultramarine
#2000B1
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171B96 #969217
analogous
#175B96 #171B96 #531796
triadic
#171B96 #96171B #1B9617
tetradic
#171B96 #96175B #969217 #179653
square
#171B96 #96175B #969217 #179653
split-complementary
#171B96 #965317 #5B9617
monochromatic
#07082C #0F1161 #171B96 #1F25CB #454AE2
Accessibility & contrast
On white
12.86
#171B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#171B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171B96
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171B96 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #171b96; /* rgb */ color: rgb(23, 27, 150); /* oklch */ color: oklch(33.5% 0.190 268.9);
Tailwind
colors: {
custom: {
50: '#705ab6',
500: '#171b96',
950: '#000000',
},
}SCSS
$custom: #171b96; $custom-light: #705ab6; $custom-dark: #000000;
JSON
{
"hex": "#171b96",
"rgb": {
"r": 23,
"g": 27,
"b": 150
},
"hsl": {
"h": 238.11,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.33519,
"c": 0.19001,
"h": 268.9
},
"luminance": 0.03168
}Semantic roles & 50–950 ramp
primary
#171B96
secondary
#C3BF45
accent
#EA38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980