#23188E#23188E
#23188E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 274.3°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #23188E |
|---|---|
| RGB | rgb(35, 24, 142) |
| HSL | hsl(246, 71%, 33%) |
| HSV | hsv(246, 83%, 56%) |
| CMYK | cmyk(75.4%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(19.90, 43.26, -61.95) |
| CIE-LCH | lch(19.90, 75.56, 304.93°) |
| OKLab | oklab(32.86% 0.0134 -0.1791) |
| OKLCH | oklch(32.86% 0.18 274.3) |
| XYZ | xyz(5.9006, 2.9630, 25.8469) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.59
Cobalt Blue
#030AA7
ΔE00 3.85
Darkblue
#00008B
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.36
Indigo (survey)
#380282
ΔE00 4.55
Navy
#000080
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23188E #838E18
analogous
#18488E #23188E #5E188E
triadic
#23188E #8E2318 #188E23
tetradic
#23188E #8E1848 #838E18 #188E5E
square
#23188E #8E1848 #838E18 #188E5E
split-complementary
#23188E #8E5E18 #488E18
monochromatic
#090625 #160F5A #23188E #3021C2 #5041DF
Accessibility & contrast
On white
13.18
#23188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#23188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23188E
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23188E | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #23188e; /* rgb */ color: rgb(35, 24, 142); /* oklch */ color: oklch(32.9% 0.180 274.3);
Tailwind
colors: {
custom: {
50: '#7159b0',
500: '#23188e',
950: '#000000',
},
}SCSS
$custom: #23188e; $custom-light: #7159b0; $custom-dark: #000000;
JSON
{
"hex": "#23188e",
"rgb": {
"r": 35,
"g": 24,
"b": 142
},
"hsl": {
"h": 245.593,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32861,
"c": 0.17965,
"h": 274.3
},
"luminance": 0.02964
}Semantic roles & 50–950 ramp
primary
#23188E
secondary
#B4C042
accent
#EE3ADD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980