#23188B#23188B
#23188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.176 H 274.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #23188B |
|---|---|
| RGB | rgb(35, 24, 139) |
| HSL | hsl(246, 71%, 32%) |
| HSV | hsv(246, 83%, 55%) |
| CMYK | cmyk(74.8%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.53, 42.31, -60.67) |
| CIE-LCH | lch(19.53, 73.97, 304.89°) |
| OKLab | oklab(32.5% 0.0143 -0.1755) |
| OKLCH | oklch(32.5% 0.176 274.6) |
| XYZ | xyz(5.6784, 2.8741, 24.6766) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.80
Darkblue
#00008B
ΔE00 4.04
Cobalt Blue
#030AA7
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.44
Midnight Blue
#191970
ΔE00 4.46
Navy
#000080
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23188B #808B18
analogous
#18478B #23188B #5D188B
triadic
#23188B #8B2318 #188B23
tetradic
#23188B #8B1847 #808B18 #188B5D
square
#23188B #8B1847 #808B18 #188B5D
split-complementary
#23188B #8B5D18 #478B18
monochromatic
#090623 #160F57 #23188B #3021BF #4F3FDE
Accessibility & contrast
On white
13.33
#23188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#23188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23188B
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23188B | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #23188b; /* rgb */ color: rgb(35, 24, 139); /* oklch */ color: oklch(32.5% 0.176 274.6);
Tailwind
colors: {
custom: {
50: '#7159ae',
500: '#23188b',
950: '#000000',
},
}SCSS
$custom: #23188b; $custom-light: #7159ae; $custom-dark: #000000;
JSON
{
"hex": "#23188b",
"rgb": {
"r": 35,
"g": 24,
"b": 139
},
"hsl": {
"h": 245.739,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32504,
"c": 0.17604,
"h": 274.6
},
"luminance": 0.02875
}Semantic roles & 50–950 ramp
primary
#23188B
secondary
#B2BE40
accent
#ED3ADC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F