#17236F#17236F
#17236F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 269.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #17236F |
|---|---|
| RGB | rgb(23, 35, 111) |
| HSL | hsl(232, 66%, 26%) |
| HSV | hsv(232, 79%, 44%) |
| CMYK | cmyk(79.3%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(18.06, 24.50, -45.30) |
| CIE-LCH | lch(18.06, 51.50, 298.40°) |
| OKLab | oklab(30.34% -0.001 -0.131) |
| OKLCH | oklch(30.34% 0.131 269.5) |
| XYZ | xyz(3.8226, 2.5315, 15.3230) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.28
Marine
#042E60
ΔE00 6.89
Royal
#0C1793
ΔE00 6.91
Darkblue (survey)
#030764
ΔE00 7.11
Dark Royal Blue
#02066F
ΔE00 7.22
Navy Blue (survey)
#001146
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17236F #6F6317
analogous
#174F6F #17236F #37176F
triadic
#17236F #6F1723 #236F17
tetradic
#17236F #6F174F #6F6317 #176F37
square
#17236F #6F174F #6F6317 #176F37
split-complementary
#17236F #6F3717 #4F6F17
monochromatic
#050819 #0C133C #17236F #2233A2 #2D44D3
Accessibility & contrast
On white
13.94
#17236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#17236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17236F
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17236F | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #17236f; /* rgb */ color: rgb(23, 35, 111); /* oklch */ color: oklch(30.3% 0.131 269.5);
Tailwind
colors: {
custom: {
50: '#645e99',
500: '#17236f',
950: '#000000',
},
}SCSS
$custom: #17236f; $custom-light: #645e99; $custom-dark: #000000;
JSON
{
"hex": "#17236f",
"rgb": {
"r": 23,
"g": 35,
"b": 111
},
"hsl": {
"h": 231.818,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.30337,
"c": 0.13105,
"h": 269.5
},
"luminance": 0.02532
}Semantic roles & 50–950 ramp
primary
#17236F
secondary
#A5973D
accent
#D23FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E