#17308D#17308D
#17308D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.157 H 266.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #17308D |
|---|---|
| RGB | rgb(23, 48, 141) |
| HSL | hsl(227, 72%, 32%) |
| HSV | hsv(227, 84%, 55%) |
| CMYK | cmyk(83.7%, 66%, 0%, 44.7%) |
| CIE-LAB | lab(24.38, 27.40, -53.95) |
| CIE-LCH | lch(24.38, 60.51, 296.92°) |
| OKLab | oklab(35.87% -0.01 -0.1562) |
| OKLCH | oklch(35.87% 0.157 266.3) |
| XYZ | xyz(6.2163, 4.2184, 25.6807) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Royal
#0C1793
ΔE00 6.83
Blueberry
#464196
ΔE00 7.07
Darkslateblue
#483D8B
ΔE00 7.31
Midnight Blue
#191970
ΔE00 7.37
Marine
#042E60
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17308D #8D7417
analogous
#176B8D #17308D #39178D
triadic
#17308D #8D1730 #308D17
tetradic
#17308D #8D176B #8D7417 #178D39
square
#17308D #8D176B #8D7417 #178D39
split-complementary
#17308D #8D3917 #6B8D17
monochromatic
#060C24 #0E1E58 #17308D #2042C2 #3F61E0
Accessibility & contrast
On white
11.39
#17308D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#17308D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17308D
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17308D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17308D | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #17308d; /* rgb */ color: rgb(23, 48, 141); /* oklch */ color: oklch(35.9% 0.157 266.3);
Tailwind
colors: {
custom: {
50: '#6b68af',
500: '#17308d',
950: '#000000',
},
}SCSS
$custom: #17308d; $custom-light: #6b68af; $custom-dark: #000000;
JSON
{
"hex": "#17308d",
"rgb": {
"r": 23,
"g": 48,
"b": 141
},
"hsl": {
"h": 227.288,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.3587,
"c": 0.15654,
"h": 266.3
},
"luminance": 0.04219
}Semantic roles & 50–950 ramp
primary
#17308D
secondary
#C0A540
accent
#C839EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F