#17317E#17317E
#17317E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.134 H 265.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #17317E |
|---|---|
| RGB | rgb(23, 49, 126) |
| HSL | hsl(225, 69%, 29%) |
| HSV | hsv(225, 82%, 49%) |
| CMYK | cmyk(81.7%, 61.1%, 0%, 50.6%) |
| CIE-LAB | lab(23.29, 20.67, -46.35) |
| CIE-LCH | lch(23.29, 50.75, 294.04°) |
| OKLab | oklab(34.64% -0.0106 -0.1339) |
| OKLCH | oklch(34.64% 0.134 265.5) |
| XYZ | xyz(5.2162, 3.8845, 20.2095) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.46
Marine Blue
#01386A
ΔE00 6.14
Darkish Blue
#014182
ΔE00 6.68
Sapphire (survey)
#2138AB
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.51
Cobalt (survey)
#1E488F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17317E #7E6417
analogous
#17657E #17317E #30177E
triadic
#17317E #7E1731 #317E17
tetradic
#17317E #7E1765 #7E6417 #177E30
square
#17317E #7E1765 #7E6417 #177E30
split-complementary
#17317E #7E3017 #657E17
monochromatic
#050A1A #0E1D4A #17317E #2045B2 #355FDA
Accessibility & contrast
On white
11.82
#17317E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#17317E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17317E
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17317E | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #17317e; /* rgb */ color: rgb(23, 49, 126); /* oklch */ color: oklch(34.6% 0.134 265.5);
Tailwind
colors: {
custom: {
50: '#6768a4',
500: '#17317e',
950: '#000000',
},
}SCSS
$custom: #17317e; $custom-light: #6768a4; $custom-dark: #000000;
JSON
{
"hex": "#17317e",
"rgb": {
"r": 23,
"g": 49,
"b": 126
},
"hsl": {
"h": 224.854,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.34636,
"c": 0.13436,
"h": 265.5
},
"luminance": 0.03885
}Semantic roles & 50–950 ramp
primary
#17317E
secondary
#B3953E
accent
#BF3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F