#17315C#17315C
#17315C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.083 H 259.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #17315C |
|---|---|
| RGB | rgb(23, 49, 92) |
| HSL | hsl(217, 60%, 23%) |
| HSV | hsv(217, 75%, 36%) |
| CMYK | cmyk(75%, 46.7%, 0%, 63.9%) |
| CIE-LAB | lab(20.64, 6.54, -28.70) |
| CIE-LCH | lch(20.64, 29.43, 282.84°) |
| OKLab | oklab(31.79% -0.0146 -0.082) |
| OKLCH | oklch(31.79% 0.083 259.9) |
| XYZ | xyz(3.3827, 3.1511, 10.5531) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.01
Navy Blue
#1B2A4A
ΔE00 4.02
Marine Blue
#01386A
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 7.25
Darkish Blue
#014182
ΔE00 7.27
Prussian Blue
#004577
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17315C #5C4217
analogous
#17545C #17315C #1F175C
triadic
#17315C #5C1731 #315C17
tetradic
#17315C #5C1754 #5C4217 #175C1F
square
#17315C #5C1754 #5C4217 #175C1F
split-complementary
#17315C #5C1F17 #545C17
monochromatic
#060D18 #0B172B #17315C #234B8D #2F65BE
Accessibility & contrast
On white
12.88
#17315C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#17315C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17315C
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17315C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17315C | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C355E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17315c; /* rgb */ color: rgb(23, 49, 92); /* oklch */ color: oklch(31.8% 0.083 259.9);
Tailwind
colors: {
custom: {
50: '#5e688a',
500: '#17315c',
950: '#000000',
},
}SCSS
$custom: #17315c; $custom-light: #5e688a; $custom-dark: #000000;
JSON
{
"hex": "#17315c",
"rgb": {
"r": 23,
"g": 49,
"b": 92
},
"hsl": {
"h": 217.391,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.31787,
"c": 0.08333,
"h": 259.9
},
"luminance": 0.03151
}Semantic roles & 50–950 ramp
primary
#17315C
secondary
#93723C
accent
#A745E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D