#17227C#17227C
#17227C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.150 H 269.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #17227C |
|---|---|
| RGB | rgb(23, 34, 124) |
| HSL | hsl(233, 69%, 29%) |
| HSV | hsv(233, 81%, 49%) |
| CMYK | cmyk(81.5%, 72.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.14, 30.23, -51.87) |
| CIE-LCH | lch(19.14, 60.04, 300.23°) |
| OKLab | oklab(31.53% -0.0016 -0.1502) |
| OKLCH | oklch(31.53% 0.15 269.4) |
| XYZ | xyz(4.5622, 2.7809, 19.3612) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.89
Royal
#0C1793
ΔE00 4.65
Dark Royal Blue
#02066F
ΔE00 6.46
Darkblue (survey)
#030764
ΔE00 6.94
Deep Blue
#040273
ΔE00 6.99
Navy
#000080
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17227C #7C7117
analogous
#17557C #17227C #3F177C
triadic
#17227C #7C1722 #227C17
tetradic
#17227C #7C1755 #7C7117 #177C3F
square
#17227C #7C1755 #7C7117 #177C3F
split-complementary
#17227C #7C3F17 #557C17
monochromatic
#05071A #0D1448 #17227C #2130B0 #3446D9
Accessibility & contrast
On white
13.49
#17227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#17227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17227C
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17227C | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17227c; /* rgb */ color: rgb(23, 34, 124); /* oklch */ color: oklch(31.5% 0.150 269.4);
Tailwind
colors: {
custom: {
50: '#685da3',
500: '#17227c',
950: '#000000',
},
}SCSS
$custom: #17227c; $custom-light: #685da3; $custom-dark: #000000;
JSON
{
"hex": "#17227c",
"rgb": {
"r": 23,
"g": 34,
"b": 124
},
"hsl": {
"h": 233.465,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.3153,
"c": 0.15024,
"h": 269.4
},
"luminance": 0.02781
}Semantic roles & 50–950 ramp
primary
#17227C
secondary
#B1A43E
accent
#D83CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F