#17127E#17127E
#17127E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.168 H 271.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #17127E |
|---|---|
| RGB | rgb(23, 18, 126) |
| HSL | hsl(243, 75%, 28%) |
| HSV | hsv(243, 86%, 49%) |
| CMYK | cmyk(81.7%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.11, 40.24, -58.17) |
| CIE-LCH | lch(16.11, 70.73, 304.67°) |
| OKLab | oklab(29.45% 0.0037 -0.1683) |
| OKLCH | oklch(29.45% 0.168 271.3) |
| XYZ | xyz(4.3343, 2.1206, 19.9155) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.00
Navy
#000080
ΔE00 3.04
Royal
#0C1793
ΔE00 3.15
Dark Royal Blue
#02066F
ΔE00 3.23
Darkblue
#00008B
ΔE00 3.29
Deep Blue
#040273
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17127E #797E12
analogous
#12437E #17127E #4D127E
triadic
#17127E #7E1712 #127E17
tetradic
#17127E #7E1243 #797E12 #127E4D
square
#17127E #7E1243 #797E12 #127E4D
split-complementary
#17127E #7E4D12 #437E12
monochromatic
#05041B #0D0A48 #17127E #211AB4 #322AE1
Accessibility & contrast
On white
14.75
#17127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#17127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17127E
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17127E | 1.00 | 14.75 | 1.42 | 14.75 |
| #FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #17127e; /* rgb */ color: rgb(23, 18, 126); /* oklch */ color: oklch(29.5% 0.168 271.3);
Tailwind
colors: {
custom: {
50: '#6a54a5',
500: '#17127e',
950: '#000000',
},
}SCSS
$custom: #17127e; $custom-light: #6a54a5; $custom-dark: #000000;
JSON
{
"hex": "#17127e",
"rgb": {
"r": 23,
"g": 18,
"b": 126
},
"hsl": {
"h": 242.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.29453,
"c": 0.16837,
"h": 271.3
},
"luminance": 0.02121
}Semantic roles & 50–950 ramp
primary
#17127E
secondary
#AEB438
accent
#F236E9
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F