#17178C#17178C
#17178C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.181 H 269.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #17178C |
|---|---|
| RGB | rgb(23, 23, 140) |
| HSL | hsl(240, 72%, 32%) |
| HSV | hsv(240, 84%, 55%) |
| CMYK | cmyk(83.6%, 83.6%, 0%, 45.1%) |
| CIE-LAB | lab(18.75, 42.34, -62.62) |
| CIE-LCH | lch(18.75, 75.60, 304.06°) |
| OKLab | oklab(31.8% -0.0007 -0.1813) |
| OKLCH | oklch(31.8% 0.181 269.8) |
| XYZ | xyz(5.3918, 2.6878, 25.0405) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.06
Darkblue
#00008B
ΔE00 3.61
Cobalt Blue
#030AA7
ΔE00 3.93
Navy
#000080
ΔE00 4.26
Midnight Blue
#191970
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17178C #8C8C17
analogous
#17528C #17178C #52178C
triadic
#17178C #8C1717 #178C17
tetradic
#17178C #8C1752 #8C8C17 #178C52
square
#17178C #8C1752 #8C8C17 #178C52
split-complementary
#17178C #8C5217 #528C17
monochromatic
#060623 #0E0E57 #17178C #2020C1 #3E3EDF
Accessibility & contrast
On white
13.66
#17178C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#17178C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17178C
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17178C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17178C | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17178c; /* rgb */ color: rgb(23, 23, 140); /* oklch */ color: oklch(31.8% 0.181 269.8);
Tailwind
colors: {
custom: {
50: '#6d57af',
500: '#17178c',
950: '#000000',
},
}SCSS
$custom: #17178c; $custom-light: #6d57af; $custom-dark: #000000;
JSON
{
"hex": "#17178c",
"rgb": {
"r": 23,
"g": 23,
"b": 140
},
"hsl": {
"h": 240,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.31797,
"c": 0.18132,
"h": 269.8
},
"luminance": 0.02688
}Semantic roles & 50–950 ramp
primary
#17178C
secondary
#BFBF3F
accent
#EF39EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880