#23117F#23117F
#23117F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.167 H 277.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #23117F |
|---|---|
| RGB | rgb(35, 17, 127) |
| HSL | hsl(250, 76%, 28%) |
| HSV | hsv(250, 87%, 50%) |
| CMYK | cmyk(72.4%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.94, 41.83, -57.40) |
| CIE-LCH | lch(16.94, 71.03, 306.09°) |
| OKLab | oklab(30.29% 0.0206 -0.1658) |
| OKLCH | oklch(30.29% 0.167 277.1) |
| XYZ | xyz(4.7231, 2.2901, 20.2677) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.33
Indigo (survey)
#380282
ΔE00 3.41
Royal
#0C1793
ΔE00 3.42
Darkblue
#00008B
ΔE00 3.43
Midnight Blue
#191970
ΔE00 3.55
Deep Blue
#040273
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23117F #6D7F11
analogous
#11367F #23117F #5A117F
triadic
#23117F #7F2311 #117F23
tetradic
#23117F #7F1136 #6D7F11 #117F5A
square
#23117F #7F1136 #6D7F11 #117F5A
split-complementary
#23117F #7F5A11 #367F11
monochromatic
#07041B #140A49 #23117F #3218B5 #4728E2
Accessibility & contrast
On white
14.40
#23117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#23117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23117F
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23117F | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23117f; /* rgb */ color: rgb(35, 17, 127); /* oklch */ color: oklch(30.3% 0.167 277.1);
Tailwind
colors: {
custom: {
50: '#6e54a5',
500: '#23117f',
950: '#000000',
},
}SCSS
$custom: #23117f; $custom-light: #6e54a5; $custom-dark: #000000;
JSON
{
"hex": "#23117f",
"rgb": {
"r": 35,
"g": 17,
"b": 127
},
"hsl": {
"h": 249.818,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.30289,
"c": 0.1671,
"h": 277.1
},
"luminance": 0.02291
}Semantic roles & 50–950 ramp
primary
#23117F
secondary
#A0B537
accent
#F335D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F