#23127E#23127E
#23127E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.165 H 277.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #23127E |
|---|---|
| RGB | rgb(35, 18, 126) |
| HSL | hsl(249, 75%, 28%) |
| HSV | hsv(249, 86%, 49%) |
| CMYK | cmyk(72.2%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.97, 41.08, -56.72) |
| CIE-LCH | lch(16.97, 70.03, 305.91°) |
| OKLab | oklab(30.27% 0.0205 -0.1639) |
| OKLCH | oklch(30.27% 0.165 277.1) |
| XYZ | xyz(4.6741, 2.2959, 19.9314) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.32
Navy
#000080
ΔE00 3.49
Royal
#0C1793
ΔE00 3.49
Indigo (survey)
#380282
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.64
Deep Blue
#040273
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23127E #6D7E12
analogous
#12377E #23127E #59127E
triadic
#23127E #7E2312 #127E23
tetradic
#23127E #7E1237 #6D7E12 #127E59
square
#23127E #7E1237 #6D7E12 #127E59
split-complementary
#23127E #7E5912 #377E12
monochromatic
#07041B #140A48 #23127E #321AB4 #472AE1
Accessibility & contrast
On white
14.39
#23127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#23127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23127E
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23127E | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23127e; /* rgb */ color: rgb(35, 18, 126); /* oklch */ color: oklch(30.3% 0.165 277.1);
Tailwind
colors: {
custom: {
50: '#6e54a5',
500: '#23127e',
950: '#000000',
},
}SCSS
$custom: #23127e; $custom-light: #6e54a5; $custom-dark: #000000;
JSON
{
"hex": "#23127e",
"rgb": {
"r": 35,
"g": 18,
"b": 126
},
"hsl": {
"h": 249.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.30272,
"c": 0.16515,
"h": 277.1
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#23127E
secondary
#A0B438
accent
#F236D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F