#17156C#17156C
#17156C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.143 H 272.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).
Color values
| HEX | #17156C |
|---|---|
| RGB | rgb(23, 21, 108) |
| HSL | hsl(241, 67%, 25%) |
| HSV | hsv(241, 81%, 42%) |
| CMYK | cmyk(78.7%, 80.6%, 0%, 57.6%) |
| CIE-LAB | lab(14.41, 32.51, -49.37) |
| CIE-LCH | lch(14.41, 59.11, 303.36°) |
| OKLab | oklab(27.61% 0.0071 -0.1429) |
| OKLCH | oklch(27.61% 0.143 272.8) |
| XYZ | xyz(3.3274, 1.8009, 14.3567) |
| Luminance | 0.0180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.09
Darkblue (survey)
#030764
ΔE00 3.25
Dark Royal Blue
#02066F
ΔE00 3.34
Deep Blue
#040273
ΔE00 4.11
Dark Blue
#00035B
ΔE00 4.63
Dark Indigo
#1F0954
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17156C #6A6C15
analogous
#153F6C #17156C #42156C
triadic
#17156C #6C1715 #156C17
tetradic
#17156C #6C153F #6A6C15 #156C42
square
#17156C #6C153F #6A6C15 #156C42
split-complementary
#17156C #6C4215 #3F6C15
monochromatic
#05051A #0C0B39 #17156C #221F9F #2D29D2
Accessibility & contrast
On white
15.44
#17156C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#17156C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17156C
15.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17156C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17156C | 1.00 | 15.44 | 1.36 | 15.44 |
| #FFFFFF | 15.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #17156c; /* rgb */ color: rgb(23, 21, 108); /* oklch */ color: oklch(27.6% 0.143 272.8);
Tailwind
colors: {
custom: {
50: '#645497',
500: '#17156c',
950: '#000000',
},
}SCSS
$custom: #17156c; $custom-light: #645497; $custom-dark: #000000;
JSON
{
"hex": "#17156c",
"rgb": {
"r": 23,
"g": 21,
"b": 108
},
"hsl": {
"h": 241.379,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.27611,
"c": 0.14306,
"h": 272.8
},
"luminance": 0.01801
}Semantic roles & 50–950 ramp
primary
#17156C
secondary
#A0A33A
accent
#EA3DE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E