#23189F#23189F
#23189F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.200 H 272.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #23189F |
|---|---|
| RGB | rgb(35, 24, 159) |
| HSL | hsl(245, 74%, 36%) |
| HSV | hsv(245, 85%, 62%) |
| CMYK | cmyk(78%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(21.99, 48.54, -68.96) |
| CIE-LCH | lch(21.99, 84.33, 305.14°) |
| OKLab | oklab(34.91% 0.0088 -0.1995) |
| OKLCH | oklch(34.91% 0.2 272.5) |
| XYZ | xyz(7.2757, 3.5130, 33.0888) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.36
Royal
#0C1793
ΔE00 2.37
Royal Blue (survey)
#0504AA
ΔE00 2.84
Ultramarine
#2000B1
ΔE00 3.22
Indigo Blue
#3A18B1
ΔE00 3.47
Darkblue
#00008B
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23189F #949F18
analogous
#18509F #23189F #66189F
triadic
#23189F #9F2318 #189F23
tetradic
#23189F #9F1850 #949F18 #189F66
square
#23189F #9F1850 #949F18 #189F66
split-complementary
#23189F #9F6618 #509F18
monochromatic
#0C0835 #17106A #23189F #2F20D4 #5A4DE4
Accessibility & contrast
On white
12.33
#23189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#23189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23189F
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23189F | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #23189f; /* rgb */ color: rgb(35, 24, 159); /* oklch */ color: oklch(34.9% 0.200 272.5);
Tailwind
colors: {
custom: {
50: '#765abd',
500: '#23189f',
950: '#000000',
},
}SCSS
$custom: #23189f; $custom-light: #765abd; $custom-dark: #000000;
JSON
{
"hex": "#23189f",
"rgb": {
"r": 35,
"g": 24,
"b": 159
},
"hsl": {
"h": 244.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.34911,
"c": 0.19966,
"h": 272.5
},
"luminance": 0.03514
}Semantic roles & 50–950 ramp
primary
#23189F
secondary
#BCC64D
accent
#F037E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981