#23147C#23147C
#23147C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.161 H 277.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #23147C |
|---|---|
| RGB | rgb(35, 20, 124) |
| HSL | hsl(249, 72%, 28%) |
| HSV | hsv(249, 84%, 49%) |
| CMYK | cmyk(71.8%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(17.05, 39.50, -55.31) |
| CIE-LCH | lch(17.05, 67.96, 305.53°) |
| OKLab | oklab(30.26% 0.0203 -0.1598) |
| OKLCH | oklch(30.26% 0.161 277.2) |
| XYZ | xyz(4.5802, 2.3125, 19.2698) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 3.84
Navy
#000080
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 3.91
Deep Blue
#040273
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23147C #6D7C14
analogous
#14397C #23147C #57147C
triadic
#23147C #7C2314 #147C23
tetradic
#23147C #7C1439 #6D7C14 #147C57
square
#23147C #7C1439 #6D7C14 #147C57
split-complementary
#23147C #7C5714 #397C14
monochromatic
#07041A #140B47 #23147C #321DB1 #472DDD
Accessibility & contrast
On white
14.36
#23147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#23147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23147C
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23147C | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23147c; /* rgb */ color: rgb(35, 20, 124); /* oklch */ color: oklch(30.3% 0.161 277.2);
Tailwind
colors: {
custom: {
50: '#6d55a3',
500: '#23147c',
950: '#000000',
},
}SCSS
$custom: #23147c; $custom-light: #6d55a3; $custom-dark: #000000;
JSON
{
"hex": "#23147c",
"rgb": {
"r": 35,
"g": 20,
"b": 124
},
"hsl": {
"h": 248.654,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.30256,
"c": 0.16109,
"h": 277.2
},
"luminance": 0.02313
}Semantic roles & 50–950 ramp
primary
#23147C
secondary
#A0B23A
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F