#17246F#17246F
#17246F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.130 H 269.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #17246F |
|---|---|
| RGB | rgb(23, 36, 111) |
| HSL | hsl(231, 66%, 26%) |
| HSV | hsv(231, 79%, 44%) |
| CMYK | cmyk(79.3%, 67.6%, 0%, 56.5%) |
| CIE-LAB | lab(18.33, 23.80, -44.87) |
| CIE-LCH | lch(18.33, 50.79, 297.94°) |
| OKLab | oklab(30.53% -0.0017 -0.1298) |
| OKLCH | oklch(30.53% 0.13 269.2) |
| XYZ | xyz(3.8525, 2.5912, 15.3330) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.62
Marine
#042E60
ΔE00 6.59
Royal
#0C1793
ΔE00 7.12
Darkblue (survey)
#030764
ΔE00 7.44
Dark Royal Blue
#02066F
ΔE00 7.56
Navy Blue (survey)
#001146
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17246F #6F6217
analogous
#17506F #17246F #36176F
triadic
#17246F #6F1724 #246F17
tetradic
#17246F #6F1750 #6F6217 #176F36
square
#17246F #6F1750 #6F6217 #176F36
split-complementary
#17246F #6F3617 #506F17
monochromatic
#050819 #0C143C #17246F #2234A2 #2D46D3
Accessibility & contrast
On white
13.83
#17246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#17246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17246F
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17246F | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #17246f; /* rgb */ color: rgb(23, 36, 111); /* oklch */ color: oklch(30.5% 0.130 269.2);
Tailwind
colors: {
custom: {
50: '#645e99',
500: '#17246f',
950: '#000000',
},
}SCSS
$custom: #17246f; $custom-light: #645e99; $custom-dark: #000000;
JSON
{
"hex": "#17246f",
"rgb": {
"r": 23,
"g": 36,
"b": 111
},
"hsl": {
"h": 231.136,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.30532,
"c": 0.12978,
"h": 269.2
},
"luminance": 0.02592
}Semantic roles & 50–950 ramp
primary
#17246F
secondary
#A5953D
accent
#D03FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E