#17128C#17128C
#17128C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.185 H 270.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #17128C |
|---|---|
| RGB | rgb(23, 18, 140) |
| HSL | hsl(242, 77%, 31%) |
| HSV | hsv(242, 87%, 55%) |
| CMYK | cmyk(83.6%, 87.1%, 0%, 45.1%) |
| CIE-LAB | lab(17.95, 44.69, -63.95) |
| CIE-LCH | lch(17.95, 78.02, 304.95°) |
| OKLab | oklab(31.25% 0.0002 -0.185) |
| OKLCH | oklch(31.25% 0.185 270.1) |
| XYZ | xyz(5.3017, 2.5076, 25.0105) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.45
Darkblue
#00008B
ΔE00 2.71
Navy
#000080
ΔE00 3.47
Cobalt Blue
#030AA7
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17128C #878C12
analogous
#124A8C #17128C #54128C
triadic
#17128C #8C1712 #128C17
tetradic
#17128C #8C124A #878C12 #128C54
square
#17128C #8C124A #878C12 #128C54
split-complementary
#17128C #8C5412 #4A8C12
monochromatic
#050420 #0E0B56 #17128C #2019C2 #3B34E5
Accessibility & contrast
On white
13.99
#17128C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#17128C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17128C
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17128C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17128C | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #17128c; /* rgb */ color: rgb(23, 18, 140); /* oklch */ color: oklch(31.2% 0.185 270.1);
Tailwind
colors: {
custom: {
50: '#6e55af',
500: '#17128c',
950: '#000000',
},
}SCSS
$custom: #17128c; $custom-light: #6e55af; $custom-dark: #000000;
JSON
{
"hex": "#17128c",
"rgb": {
"r": 23,
"g": 18,
"b": 140
},
"hsl": {
"h": 242.459,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.31248,
"c": 0.18503,
"h": 270.1
},
"luminance": 0.02508
}Semantic roles & 50–950 ramp
primary
#17128C
secondary
#BBC039
accent
#F434EC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880