#171C96#171C96
#171C96 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.189 H 268.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #171C96 |
|---|---|
| RGB | rgb(23, 28, 150) |
| HSL | hsl(238, 73%, 34%) |
| HSV | hsv(238, 85%, 59%) |
| CMYK | cmyk(84.7%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(20.88, 43.08, -65.30) |
| CIE-LCH | lch(20.88, 78.22, 303.41°) |
| OKLab | oklab(33.64% -0.0037 -0.1891) |
| OKLCH | oklch(33.64% 0.189 268.9) |
| XYZ | xyz(6.2717, 3.2139, 29.1380) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.21
Cobalt Blue
#030AA7
ΔE00 3.42
Royal Blue (survey)
#0504AA
ΔE00 4.04
Darkblue
#00008B
ΔE00 4.85
Ultramarine
#2000B1
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#171C96 #969117
analogous
#175C96 #171C96 #521796
triadic
#171C96 #96171C #1C9617
tetradic
#171C96 #96175C #969117 #179652
square
#171C96 #96175C #969117 #179652
split-complementary
#171C96 #965217 #5C9617
monochromatic
#07082C #0F1261 #171C96 #1F26CB #454BE2
Accessibility & contrast
On white
12.78
#171C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#171C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #171C96
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##171C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##171C96 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002C94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #171c96; /* rgb */ color: rgb(23, 28, 150); /* oklch */ color: oklch(33.6% 0.189 268.9);
Tailwind
colors: {
custom: {
50: '#705bb6',
500: '#171c96',
950: '#000000',
},
}SCSS
$custom: #171c96; $custom-light: #705bb6; $custom-dark: #000000;
JSON
{
"hex": "#171c96",
"rgb": {
"r": 23,
"g": 28,
"b": 150
},
"hsl": {
"h": 237.638,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.33644,
"c": 0.18918,
"h": 268.9
},
"luminance": 0.03215
}Semantic roles & 50–950 ramp
primary
#171C96
secondary
#C3BE45
accent
#E938F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980