#23147E#23147E
#23147E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 276.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #23147E |
|---|---|
| RGB | rgb(35, 20, 126) |
| HSL | hsl(248, 73%, 29%) |
| HSV | hsv(248, 84%, 49%) |
| CMYK | cmyk(72.2%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(17.29, 40.13, -56.18) |
| CIE-LCH | lch(17.29, 69.05, 305.54°) |
| OKLab | oklab(30.49% 0.0197 -0.1624) |
| OKLCH | oklch(30.49% 0.164 276.9) |
| XYZ | xyz(4.7080, 2.3636, 19.9427) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 3.40
Navy
#000080
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 3.83
Darkblue
#00008B
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23147E #6F7E14
analogous
#143A7E #23147E #58147E
triadic
#23147E #7E2314 #147E23
tetradic
#23147E #7E143A #6F7E14 #147E58
square
#23147E #7E143A #6F7E14 #147E58
split-complementary
#23147E #7E5814 #3A7E14
monochromatic
#07041A #140C49 #23147E #321CB3 #472EDE
Accessibility & contrast
On white
14.26
#23147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#23147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23147E
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23147E | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23147e; /* rgb */ color: rgb(35, 20, 126); /* oklch */ color: oklch(30.5% 0.164 276.9);
Tailwind
colors: {
custom: {
50: '#6e55a5',
500: '#23147e',
950: '#000000',
},
}SCSS
$custom: #23147e; $custom-light: #6e55a5; $custom-dark: #000000;
JSON
{
"hex": "#23147e",
"rgb": {
"r": 35,
"g": 20,
"b": 126
},
"hsl": {
"h": 248.491,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30493,
"c": 0.16355,
"h": 276.9
},
"luminance": 0.02364
}Semantic roles & 50–950 ramp
primary
#23147E
secondary
#A2B33A
accent
#EF38D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F