#23318E#23318E
#23318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.153 H 270.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #23318E |
|---|---|
| RGB | rgb(35, 49, 142) |
| HSL | hsl(232, 60%, 35%) |
| HSV | hsv(232, 75%, 56%) |
| CMYK | cmyk(75.4%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.28, 28.33, -53.07) |
| CIE-LCH | lch(25.28, 60.16, 298.10°) |
| OKLab | oklab(36.71% 0.0005 -0.1534) |
| OKLCH | oklch(36.71% 0.153 270.2) |
| XYZ | xyz(6.6723, 4.5062, 26.1041) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Blueberry
#464196
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.28
Royal
#0C1793
ΔE00 6.80
Midnight Blue
#191970
ΔE00 7.42
Cobalt
#0047AB
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23318E #8E8023
analogous
#23668E #23318E #4B238E
triadic
#23318E #8E2331 #318E23
tetradic
#23318E #8E2366 #8E8023 #238E4B
square
#23318E #8E2366 #8E8023 #238E4B
split-complementary
#23318E #8E4B23 #668E23
monochromatic
#0B0F2C #17205D #23318E #2F42BF #5667D5
Accessibility & contrast
On white
11.04
#23318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#23318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23318E
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23318E | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #23318e; /* rgb */ color: rgb(35, 49, 142); /* oklch */ color: oklch(36.7% 0.153 270.2);
Tailwind
colors: {
custom: {
50: '#6f69b0',
500: '#23318e',
950: '#000000',
},
}SCSS
$custom: #23318e; $custom-light: #6f69b0; $custom-dark: #000000;
JSON
{
"hex": "#23318e",
"rgb": {
"r": 35,
"g": 49,
"b": 142
},
"hsl": {
"h": 232.15,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.3671,
"c": 0.15341,
"h": 270.2
},
"luminance": 0.04507
}Semantic roles & 50–950 ramp
primary
#23318E
secondary
#B9AC53
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80