#23189E#23189E
#23189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.199 H 272.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #23189E |
|---|---|
| RGB | rgb(35, 24, 158) |
| HSL | hsl(245, 74%, 36%) |
| HSV | hsv(245, 85%, 62%) |
| CMYK | cmyk(77.8%, 84.8%, 0%, 38%) |
| CIE-LAB | lab(21.87, 48.24, -68.56) |
| CIE-LCH | lch(21.87, 83.83, 305.13°) |
| OKLab | oklab(34.79% 0.0091 -0.1983) |
| OKLCH | oklch(34.79% 0.199 272.6) |
| XYZ | xyz(7.1893, 3.4784, 32.6336) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Cobalt Blue
#030AA7
ΔE00 2.41
Royal Blue (survey)
#0504AA
ΔE00 2.89
Ultramarine
#2000B1
ΔE00 3.31
Indigo Blue
#3A18B1
ΔE00 3.58
Darkblue
#00008B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23189E #939E18
analogous
#18509E #23189E #66189E
triadic
#23189E #9E2318 #189E23
tetradic
#23189E #9E1850 #939E18 #189E66
square
#23189E #9E1850 #939E18 #189E66
split-complementary
#23189E #9E6618 #509E18
monochromatic
#0B0834 #171069 #23189E #2F20D3 #594DE4
Accessibility & contrast
On white
12.38
#23189E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#23189E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23189E
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23189E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23189E | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #23189e; /* rgb */ color: rgb(35, 24, 158); /* oklch */ color: oklch(34.8% 0.199 272.6);
Tailwind
colors: {
custom: {
50: '#755abc',
500: '#23189e',
950: '#000000',
},
}SCSS
$custom: #23189e; $custom-light: #755abc; $custom-dark: #000000;
JSON
{
"hex": "#23189e",
"rgb": {
"r": 35,
"g": 24,
"b": 158
},
"hsl": {
"h": 244.925,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.34789,
"c": 0.19851,
"h": 272.6
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#23189E
secondary
#BCC64C
accent
#F038E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981