#17308F#17308F
#17308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.159 H 266.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #17308F |
|---|---|
| RGB | rgb(23, 48, 143) |
| HSL | hsl(228, 72%, 33%) |
| HSV | hsv(228, 84%, 56%) |
| CMYK | cmyk(83.9%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.57, 28.18, -54.87) |
| CIE-LCH | lch(24.57, 61.69, 297.18°) |
| OKLab | oklab(36.07% -0.01 -0.1589) |
| OKLCH | oklch(36.07% 0.159 266.4) |
| XYZ | xyz(6.3665, 4.2785, 26.4716) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Royal
#0C1793
ΔE00 6.70
Blueberry
#464196
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.31
Midnight Blue
#191970
ΔE00 7.47
Darkish Blue
#014182
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17308F #8F7617
analogous
#176C8F #17308F #3A178F
triadic
#17308F #8F1730 #308F17
tetradic
#17308F #8F176C #8F7617 #178F3A
square
#17308F #8F176C #8F7617 #178F3A
split-complementary
#17308F #8F3A17 #6C8F17
monochromatic
#060D26 #0F1E5A #17308F #1F42C4 #4061E0
Accessibility & contrast
On white
11.32
#17308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#17308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17308F
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17308F | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #17308f; /* rgb */ color: rgb(23, 48, 143); /* oklch */ color: oklch(36.1% 0.159 266.4);
Tailwind
colors: {
custom: {
50: '#6c68b1',
500: '#17308f',
950: '#000000',
},
}SCSS
$custom: #17308f; $custom-light: #6c68b1; $custom-dark: #000000;
JSON
{
"hex": "#17308f",
"rgb": {
"r": 23,
"g": 48,
"b": 143
},
"hsl": {
"h": 227.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.36069,
"c": 0.15925,
"h": 266.4
},
"luminance": 0.04279
}Semantic roles & 50–950 ramp
primary
#17308F
secondary
#C1A641
accent
#C939EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80