#23138C#23138C
#23138C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.181 H 275.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #23138C |
|---|---|
| RGB | rgb(35, 19, 140) |
| HSL | hsl(248, 76%, 31%) |
| HSV | hsv(248, 86%, 55%) |
| CMYK | cmyk(75%, 86.4%, 0%, 45.1%) |
| CIE-LAB | lab(18.87, 44.93, -62.40) |
| CIE-LCH | lch(18.87, 76.90, 305.76°) |
| OKLab | oklab(32.08% 0.0157 -0.1804) |
| OKLCH | oklch(32.08% 0.181 275) |
| XYZ | xyz(5.6581, 2.7160, 25.0319) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.94
Darkblue
#00008B
ΔE00 3.26
Cobalt Blue
#030AA7
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 3.81
Navy
#000080
ΔE00 3.99
Royal Blue (survey)
#0504AA
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23138C #7C8C13
analogous
#133F8C #23138C #5F138C
triadic
#23138C #8C2313 #138C23
tetradic
#23138C #8C133F #7C8C13 #138C5F
square
#23138C #8C133F #7C8C13 #138C5F
split-complementary
#23138C #8C5F13 #3F8C13
monochromatic
#080420 #160C56 #23138C #301AC2 #4D36E4
Accessibility & contrast
On white
13.61
#23138C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#23138C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23138C
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23138C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23138C | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #23138c; /* rgb */ color: rgb(35, 19, 140); /* oklch */ color: oklch(32.1% 0.181 275.0);
Tailwind
colors: {
custom: {
50: '#7156af',
500: '#23138c',
950: '#000000',
},
}SCSS
$custom: #23138c; $custom-light: #7156af; $custom-dark: #000000;
JSON
{
"hex": "#23138c",
"rgb": {
"r": 35,
"g": 19,
"b": 140
},
"hsl": {
"h": 247.934,
"s": 76.101,
"l": 31.176
},
"oklch": {
"l": 0.32082,
"c": 0.18106,
"h": 275
},
"luminance": 0.02717
}Semantic roles & 50–950 ramp
primary
#23138C
secondary
#AFC03B
accent
#F335DA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880