#23217C#23217C
#23217C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.148 H 275.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #23217C |
|---|---|
| RGB | rgb(35, 33, 124) |
| HSL | hsl(241, 58%, 31%) |
| HSV | hsv(241, 73%, 49%) |
| CMYK | cmyk(71.8%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(19.64, 32.15, -51.03) |
| CIE-LCH | lch(19.64, 60.31, 302.21°) |
| OKLab | oklab(32.08% 0.0131 -0.1475) |
| OKLCH | oklch(32.08% 0.148 275.1) |
| XYZ | xyz(4.8739, 2.8998, 19.3677) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Royal
#0C1793
ΔE00 4.46
Dark Royal Blue
#02066F
ΔE00 6.20
Indigo (survey)
#380282
ΔE00 6.62
Deep Blue
#040273
ΔE00 6.64
Navy
#000080
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23217C #7A7C21
analogous
#214C7C #23217C #50217C
triadic
#23217C #7C2321 #217C23
tetradic
#23217C #7C214C #7A7C21 #217C50
square
#23217C #7C214C #7A7C21 #217C50
split-complementary
#23217C #7C5021 #4C7C21
monochromatic
#08071B #15144C #23217C #312EAC #4C49CF
Accessibility & contrast
On white
13.29
#23217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#23217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23217C
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23217C | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #23217c; /* rgb */ color: rgb(35, 33, 124); /* oklch */ color: oklch(32.1% 0.148 275.1);
Tailwind
colors: {
custom: {
50: '#6c5da3',
500: '#23217c',
950: '#000000',
},
}SCSS
$custom: #23217c; $custom-light: #6c5da3; $custom-dark: #000000;
JSON
{
"hex": "#23217c",
"rgb": {
"r": 35,
"g": 33,
"b": 124
},
"hsl": {
"h": 241.319,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.32081,
"c": 0.14807,
"h": 275.1
},
"luminance": 0.029
}Semantic roles & 50–950 ramp
primary
#23217C
secondary
#ADAF4A
accent
#E147DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F