#23198B#23198B
#23198B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 274.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #23198B |
|---|---|
| RGB | rgb(35, 25, 139) |
| HSL | hsl(245, 70%, 32%) |
| HSV | hsv(245, 82%, 55%) |
| CMYK | cmyk(74.8%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(19.70, 41.80, -60.39) |
| CIE-LCH | lch(19.70, 73.45, 304.69°) |
| OKLab | oklab(32.62% 0.0139 -0.1746) |
| OKLCH | oklch(32.62% 0.175 274.5) |
| XYZ | xyz(5.6994, 2.9161, 24.6836) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.81
Darkblue
#00008B
ΔE00 4.22
Cobalt Blue
#030AA7
ΔE00 4.31
Midnight Blue
#191970
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 4.60
Navy
#000080
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23198B #818B19
analogous
#19488B #23198B #5C198B
triadic
#23198B #8B2319 #198B23
tetradic
#23198B #8B1948 #818B19 #198B5C
square
#23198B #8B1948 #818B19 #198B5C
split-complementary
#23198B #8B5C19 #488B19
monochromatic
#090623 #161057 #23198B #3022BF #4F41DD
Accessibility & contrast
On white
13.26
#23198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#23198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23198B
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23198B | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #23198b; /* rgb */ color: rgb(35, 25, 139); /* oklch */ color: oklch(32.6% 0.175 274.5);
Tailwind
colors: {
custom: {
50: '#7059ae',
500: '#23198b',
950: '#000000',
},
}SCSS
$custom: #23198b; $custom-light: #7059ae; $custom-dark: #000000;
JSON
{
"hex": "#23198b",
"rgb": {
"r": 35,
"g": 25,
"b": 139
},
"hsl": {
"h": 245.263,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.32624,
"c": 0.1752,
"h": 274.5
},
"luminance": 0.02917
}Semantic roles & 50–950 ramp
primary
#23198B
secondary
#B3BE42
accent
#EC3BDD
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F