#23197F#23197F
#23197F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.160 H 276.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #23197F |
|---|---|
| RGB | rgb(35, 25, 127) |
| HSL | hsl(246, 67%, 30%) |
| HSV | hsv(246, 80%, 50%) |
| CMYK | cmyk(72.4%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.30, 37.89, -55.16) |
| CIE-LCH | lch(18.30, 66.91, 304.48°) |
| OKLab | oklab(31.23% 0.0171 -0.1594) |
| OKLCH | oklch(31.23% 0.16 276.1) |
| XYZ | xyz(4.8703, 2.5844, 20.3167) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Royal
#0C1793
ΔE00 3.24
Indigo (survey)
#380282
ΔE00 4.64
Navy
#000080
ΔE00 4.68
Darkblue
#00008B
ΔE00 4.69
Dark Royal Blue
#02066F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23197F #757F19
analogous
#19427F #23197F #56197F
triadic
#23197F #7F2319 #197F23
tetradic
#23197F #7F1942 #757F19 #197F56
square
#23197F #7F1942 #757F19 #197F56
split-complementary
#23197F #7F5619 #427F19
monochromatic
#07051A #150F4C #23197F #3123B2 #4A3AD8
Accessibility & contrast
On white
13.84
#23197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#23197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23197F
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23197F | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #23197f; /* rgb */ color: rgb(35, 25, 127); /* oklch */ color: oklch(31.2% 0.160 276.1);
Tailwind
colors: {
custom: {
50: '#6d58a5',
500: '#23197f',
950: '#000000',
},
}SCSS
$custom: #23197f; $custom-light: #6d58a5; $custom-dark: #000000;
JSON
{
"hex": "#23197f",
"rgb": {
"r": 35,
"g": 25,
"b": 127
},
"hsl": {
"h": 245.882,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31228,
"c": 0.16035,
"h": 276.1
},
"luminance": 0.02585
}Semantic roles & 50–950 ramp
primary
#23197F
secondary
#A8B341
accent
#EA3ED9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F