#17138C#17138C
#17138C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.184 H 270.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #17138C |
|---|---|
| RGB | rgb(23, 19, 140) |
| HSL | hsl(242, 76%, 31%) |
| HSV | hsv(242, 86%, 55%) |
| CMYK | cmyk(83.6%, 86.4%, 0%, 45.1%) |
| CIE-LAB | lab(18.10, 44.25, -63.70) |
| CIE-LCH | lch(18.10, 77.56, 304.79°) |
| OKLab | oklab(31.35% 0.0001 -0.1843) |
| OKLCH | oklch(31.35% 0.184 270) |
| XYZ | xyz(5.3182, 2.5407, 25.0160) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.34
Darkblue
#00008B
ΔE00 2.88
Navy
#000080
ΔE00 3.61
Cobalt Blue
#030AA7
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17138C #888C13
analogous
#134B8C #17138C #53138C
triadic
#17138C #8C1713 #138C17
tetradic
#17138C #8C134B #888C13 #138C53
square
#17138C #8C134B #888C13 #138C53
split-complementary
#17138C #8C5313 #4B8C13
monochromatic
#050420 #0E0C56 #17138C #201AC2 #3B36E4
Accessibility & contrast
On white
13.92
#17138C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#17138C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17138C
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17138C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17138C | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00268A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #17138c; /* rgb */ color: rgb(23, 19, 140); /* oklch */ color: oklch(31.4% 0.184 270.0);
Tailwind
colors: {
custom: {
50: '#6e55af',
500: '#17138c',
950: '#000000',
},
}SCSS
$custom: #17138c; $custom-light: #6e55af; $custom-dark: #000000;
JSON
{
"hex": "#17138c",
"rgb": {
"r": 23,
"g": 19,
"b": 140
},
"hsl": {
"h": 241.983,
"s": 76.101,
"l": 31.176
},
"oklch": {
"l": 0.31351,
"c": 0.18434,
"h": 270
},
"luminance": 0.02541
}Semantic roles & 50–950 ramp
primary
#17138C
secondary
#BCC03B
accent
#F335EC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880