#17148F#17148F
#17148F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.187 H 269.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #17148F |
|---|---|
| RGB | rgb(23, 20, 143) |
| HSL | hsl(241, 75%, 32%) |
| HSV | hsv(241, 86%, 56%) |
| CMYK | cmyk(83.9%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(18.65, 44.74, -64.66) |
| CIE-LCH | lch(18.65, 78.63, 304.68°) |
| OKLab | oklab(31.84% -0.0008 -0.1871) |
| OKLCH | oklch(31.84% 0.187 269.8) |
| XYZ | xyz(5.5597, 2.6650, 26.2026) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.97
Darkblue
#00008B
ΔE00 3.11
Cobalt Blue
#030AA7
ΔE00 3.32
Royal Blue (survey)
#0504AA
ΔE00 3.84
Navy
#000080
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17148F #8C8F14
analogous
#144F8F #17148F #54148F
triadic
#17148F #8F1714 #148F17
tetradic
#17148F #8F144F #8C8F14 #148F54
square
#17148F #8F144F #8C8F14 #148F54
split-complementary
#17148F #8F5414 #4F8F14
monochromatic
#060524 #0E0C59 #17148F #201CC5 #3E3AE3
Accessibility & contrast
On white
13.70
#17148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#17148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17148F
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17148F | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #17148f; /* rgb */ color: rgb(23, 20, 143); /* oklch */ color: oklch(31.8% 0.187 269.8);
Tailwind
colors: {
custom: {
50: '#6e56b1',
500: '#17148f',
950: '#000000',
},
}SCSS
$custom: #17148f; $custom-light: #6e56b1; $custom-dark: #000000;
JSON
{
"hex": "#17148f",
"rgb": {
"r": 23,
"g": 20,
"b": 143
},
"hsl": {
"h": 241.463,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.31839,
"c": 0.18715,
"h": 269.8
},
"luminance": 0.02666
}Semantic roles & 50–950 ramp
primary
#17148F
secondary
#BFC33C
accent
#F236ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880