#17318F#17318F
#17318F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.158 H 266.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #17318F |
|---|---|
| RGB | rgb(23, 49, 143) |
| HSL | hsl(227, 72%, 33%) |
| HSV | hsv(227, 84%, 56%) |
| CMYK | cmyk(83.9%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(24.83, 27.50, -54.45) |
| CIE-LCH | lch(24.83, 61.00, 296.80°) |
| OKLab | oklab(36.26% -0.0105 -0.1577) |
| OKLCH | oklch(36.26% 0.158 266.2) |
| XYZ | xyz(6.4078, 4.3612, 26.4853) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Blueberry
#464196
ΔE00 6.89
Royal
#0C1793
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.25
Darkish Blue
#014182
ΔE00 7.65
Midnight Blue
#191970
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17318F #8F7517
analogous
#176D8F #17318F #39178F
triadic
#17318F #8F1731 #318F17
tetradic
#17318F #8F176D #8F7517 #178F39
square
#17318F #8F176D #8F7517 #178F39
split-complementary
#17318F #8F3917 #6D8F17
monochromatic
#060D26 #0F1F5A #17318F #1F43C4 #4063E0
Accessibility & contrast
On white
11.22
#17318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#17318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17318F
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17318F | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #17318f; /* rgb */ color: rgb(23, 49, 143); /* oklch */ color: oklch(36.3% 0.158 266.2);
Tailwind
colors: {
custom: {
50: '#6b68b1',
500: '#17318f',
950: '#000000',
},
}SCSS
$custom: #17318f; $custom-light: #6b68b1; $custom-dark: #000000;
JSON
{
"hex": "#17318f",
"rgb": {
"r": 23,
"g": 49,
"b": 143
},
"hsl": {
"h": 227,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.3626,
"c": 0.15802,
"h": 266.2
},
"luminance": 0.04362
}Semantic roles & 50–950 ramp
primary
#17318F
secondary
#C1A541
accent
#C839EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80