#17117F#17117F
#17117F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.170 H 271.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #17117F |
|---|---|
| RGB | rgb(23, 17, 127) |
| HSL | hsl(243, 76%, 28%) |
| HSV | hsv(243, 87%, 50%) |
| CMYK | cmyk(81.9%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.08, 41.03, -58.86) |
| CIE-LCH | lch(16.08, 71.75, 304.88°) |
| OKLab | oklab(29.47% 0.0037 -0.1703) |
| OKLCH | oklch(29.47% 0.17 271.2) |
| XYZ | xyz(4.3833, 2.1149, 20.2518) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.85
Darkblue
#00008B
ΔE00 3.05
Royal
#0C1793
ΔE00 3.08
Deep Blue
#040273
ΔE00 3.23
Dark Royal Blue
#02066F
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17117F #797F11
analogous
#11427F #17117F #4E117F
triadic
#17117F #7F1711 #117F17
tetradic
#17117F #7F1142 #797F11 #117F4E
square
#17117F #7F1142 #797F11 #117F4E
split-complementary
#17117F #7F4E11 #427F11
monochromatic
#05041B #0D0A49 #17117F #2118B5 #3228E2
Accessibility & contrast
On white
14.76
#17117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#17117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17117F
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17117F | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #17117f; /* rgb */ color: rgb(23, 17, 127); /* oklch */ color: oklch(29.5% 0.170 271.2);
Tailwind
colors: {
custom: {
50: '#6a53a5',
500: '#17117f',
950: '#000000',
},
}SCSS
$custom: #17117f; $custom-light: #6a53a5; $custom-dark: #000000;
JSON
{
"hex": "#17117f",
"rgb": {
"r": 23,
"g": 17,
"b": 127
},
"hsl": {
"h": 243.273,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.2947,
"c": 0.17033,
"h": 271.2
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#17117F
secondary
#AEB537
accent
#F335E9
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F