#171896#171896
#171896 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.192 H 269.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #171896 |
|---|---|
| RGB | rgb(23, 24, 150) |
| HSL | hsl(240, 73%, 34%) |
| HSV | hsv(240, 85%, 59%) |
| CMYK | cmyk(84.7%, 84%, 0%, 41.2%) |
| CIE-LAB | lab(20.19, 45.10, -66.44) |
| CIE-LCH | lch(20.19, 80.30, 304.17°) |
| OKLab | oklab(33.16% -0.003 -0.1924) |
| OKLCH | oklch(33.16% 0.192 269.1) |
| XYZ | xyz(6.1831, 3.0367, 29.1085) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.77
Cobalt Blue
#030AA7
ΔE00 2.84
Royal Blue (survey)
#0504AA
ΔE00 3.44
Darkblue
#00008B
ΔE00 4.10
Ultramarine
#2000B1
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171896 #969517
analogous
#175896 #171896 #561796
triadic
#171896 #961718 #189617
tetradic
#171896 #961758 #969517 #179656
square
#171896 #961758 #969517 #179656
split-complementary
#171896 #965617 #589617
monochromatic
#07072C #0F1061 #171896 #1F20CB #4546E2
Accessibility & contrast
On white
13.06
#171896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#171896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171896
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171896 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002A94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #171896; /* rgb */ color: rgb(23, 24, 150); /* oklch */ color: oklch(33.2% 0.192 269.1);
Tailwind
colors: {
custom: {
50: '#7059b6',
500: '#171896',
950: '#000000',
},
}SCSS
$custom: #171896; $custom-light: #7059b6; $custom-dark: #000000;
JSON
{
"hex": "#171896",
"rgb": {
"r": 23,
"g": 24,
"b": 150
},
"hsl": {
"h": 239.528,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.33163,
"c": 0.1924,
"h": 269.1
},
"luminance": 0.03037
}Semantic roles & 50–950 ramp
primary
#171896
secondary
#C3C245
accent
#EF38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980