#23118E#23118E
#23118E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.185 H 274.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #23118E |
|---|---|
| RGB | rgb(35, 17, 142) |
| HSL | hsl(249, 79%, 31%) |
| HSV | hsv(249, 88%, 56%) |
| CMYK | cmyk(75.4%, 88%, 0%, 44.3%) |
| CIE-LAB | lab(18.85, 46.36, -63.69) |
| CIE-LCH | lch(18.85, 78.78, 306.05°) |
| OKLab | oklab(32.14% 0.0156 -0.1841) |
| OKLCH | oklch(32.14% 0.185 274.8) |
| XYZ | xyz(5.7745, 2.7106, 25.8048) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.01
Darkblue
#00008B
ΔE00 3.05
Cobalt Blue
#030AA7
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 3.71
Royal Blue (survey)
#0504AA
ΔE00 3.87
Navy
#000080
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23118E #7C8E11
analogous
#113D8E #23118E #61118E
triadic
#23118E #8E2311 #118E23
tetradic
#23118E #8E113D #7C8E11 #118E61
square
#23118E #8E113D #7C8E11 #118E61
split-complementary
#23118E #8E6111 #3D8E11
monochromatic
#080421 #160A57 #23118E #3018C5 #4D33E7
Accessibility & contrast
On white
13.62
#23118E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#23118E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23118E
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23118E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23118E | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #23118e; /* rgb */ color: rgb(35, 17, 142); /* oklch */ color: oklch(32.1% 0.185 274.8);
Tailwind
colors: {
custom: {
50: '#7255b0',
500: '#23118e',
950: '#000000',
},
}SCSS
$custom: #23118e; $custom-light: #7255b0; $custom-dark: #000000;
JSON
{
"hex": "#23118e",
"rgb": {
"r": 35,
"g": 17,
"b": 142
},
"hsl": {
"h": 248.64,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.32139,
"c": 0.18473,
"h": 274.8
},
"luminance": 0.02711
}Semantic roles & 50–950 ramp
primary
#23118E
secondary
#AFC238
accent
#F533D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880