#17338E#17338E
#17338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 265.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #17338E |
|---|---|
| RGB | rgb(23, 51, 142) |
| HSL | hsl(226, 72%, 32%) |
| HSV | hsv(226, 84%, 56%) |
| CMYK | cmyk(83.8%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.27, 25.73, -53.12) |
| CIE-LCH | lch(25.27, 59.02, 295.85°) |
| OKLab | oklab(36.55% -0.0116 -0.1537) |
| OKLCH | oklch(36.55% 0.154 265.7) |
| XYZ | xyz(6.4179, 4.5020, 26.1167) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Blueberry
#464196
ΔE00 6.74
Darkish Blue
#014182
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.19
Cobalt (survey)
#1E488F
ΔE00 7.21
Cobalt
#0047AB
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17338E #8E7217
analogous
#176F8E #17338E #36178E
triadic
#17338E #8E1733 #338E17
tetradic
#17338E #8E176F #8E7217 #178E36
square
#17338E #8E176F #8E7217 #178E36
split-complementary
#17338E #8E3617 #6F8E17
monochromatic
#060D25 #0E2059 #17338E #2046C3 #3F65E0
Accessibility & contrast
On white
11.05
#17338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#17338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17338E
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17338E | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #17338e; /* rgb */ color: rgb(23, 51, 142); /* oklch */ color: oklch(36.6% 0.154 265.7);
Tailwind
colors: {
custom: {
50: '#6b6ab0',
500: '#17338e',
950: '#000000',
},
}SCSS
$custom: #17338e; $custom-light: #6b6ab0; $custom-dark: #000000;
JSON
{
"hex": "#17338e",
"rgb": {
"r": 23,
"g": 51,
"b": 142
},
"hsl": {
"h": 225.882,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.36553,
"c": 0.15419,
"h": 265.7
},
"luminance": 0.04503
}Semantic roles & 50–950 ramp
primary
#17338E
secondary
#C0A240
accent
#C439EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80