#23157E#23157E
#23157E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 276.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #23157E |
|---|---|
| RGB | rgb(35, 21, 126) |
| HSL | hsl(248, 71%, 29%) |
| HSV | hsv(248, 83%, 49%) |
| CMYK | cmyk(72.2%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(17.46, 39.64, -55.91) |
| CIE-LCH | lch(17.46, 68.53, 305.34°) |
| OKLab | oklab(30.61% 0.0192 -0.1616) |
| OKLCH | oklch(30.61% 0.163 276.8) |
| XYZ | xyz(4.7260, 2.3996, 19.9487) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Royal
#0C1793
ΔE00 3.37
Navy
#000080
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.06
Dark Royal Blue
#02066F
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23157E #707E15
analogous
#153C7E #23157E #58157E
triadic
#23157E #7E2315 #157E23
tetradic
#23157E #7E153C #707E15 #157E58
square
#23157E #7E153C #707E15 #157E58
split-complementary
#23157E #7E5815 #3C7E15
monochromatic
#07041A #140C4A #23157E #321EB2 #4831DD
Accessibility & contrast
On white
14.19
#23157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#23157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23157E
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23157E | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #23157e; /* rgb */ color: rgb(35, 21, 126); /* oklch */ color: oklch(30.6% 0.163 276.8);
Tailwind
colors: {
custom: {
50: '#6e56a5',
500: '#23157e',
950: '#000000',
},
}SCSS
$custom: #23157e; $custom-light: #6e56a5; $custom-dark: #000000;
JSON
{
"hex": "#23157e",
"rgb": {
"r": 35,
"g": 21,
"b": 126
},
"hsl": {
"h": 248,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.3061,
"c": 0.1627,
"h": 276.8
},
"luminance": 0.024
}Semantic roles & 50–950 ramp
primary
#23157E
secondary
#A3B33C
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F