#23197E#23197E
#23197E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.159 H 276.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #23197E |
|---|---|
| RGB | rgb(35, 25, 126) |
| HSL | hsl(246, 67%, 30%) |
| HSV | hsv(246, 80%, 49%) |
| CMYK | cmyk(72.2%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.18, 37.55, -54.71) |
| CIE-LCH | lch(18.18, 66.36, 304.47°) |
| OKLab | oklab(31.11% 0.0173 -0.1581) |
| OKLCH | oklch(31.11% 0.159 276.3) |
| XYZ | xyz(4.8054, 2.5585, 19.9752) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.58
Royal
#0C1793
ΔE00 3.38
Dark Royal Blue
#02066F
ΔE00 4.64
Indigo (survey)
#380282
ΔE00 4.68
Navy
#000080
ΔE00 4.71
Darkblue
#00008B
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23197E #747E19
analogous
#19417E #23197E #56197E
triadic
#23197E #7E2319 #197E23
tetradic
#23197E #7E1941 #747E19 #197E56
square
#23197E #7E1941 #747E19 #197E56
split-complementary
#23197E #7E5619 #417E19
monochromatic
#07051A #150F4B #23197E #3123B1 #493AD8
Accessibility & contrast
On white
13.89
#23197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#23197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23197E
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23197E | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #23197e; /* rgb */ color: rgb(35, 25, 126); /* oklch */ color: oklch(31.1% 0.159 276.3);
Tailwind
colors: {
custom: {
50: '#6d58a5',
500: '#23197e',
950: '#000000',
},
}SCSS
$custom: #23197e; $custom-light: #6d58a5; $custom-dark: #000000;
JSON
{
"hex": "#23197e",
"rgb": {
"r": 35,
"g": 25,
"b": 126
},
"hsl": {
"h": 245.941,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.31114,
"c": 0.15909,
"h": 276.3
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#23197E
secondary
#A7B241
accent
#EA3ED9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F