#3E2CA1#3E2CA1
#3E2CA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.178 H 281.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2CA1 |
|---|---|
| RGB | rgb(62, 44, 161) |
| HSL | hsl(249, 57%, 40%) |
| HSV | hsv(249, 73%, 63%) |
| CMYK | cmyk(61.5%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(27.84, 41.59, -60.45) |
| CIE-LCH | lch(27.84, 73.37, 304.53°) |
| OKLab | oklab(39.6% 0.0357 -0.1743) |
| OKLCH | oklch(39.6% 0.178 281.6) |
| XYZ | xyz(9.3183, 5.3980, 34.2622) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 5.19
Blueberry
#464196
ΔE00 6.35
Royal
#0C1793
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2CA1 #8FA12C
analogous
#2C54A1 #3E2CA1 #792CA1
triadic
#3E2CA1 #A13E2C #2CA13E
tetradic
#3E2CA1 #A12C54 #8FA12C #2CA179
square
#3E2CA1 #A12C54 #8FA12C #2CA179
split-complementary
#3E2CA1 #A1792C #54A12C
monochromatic
#191241 #2B1F71 #3E2CA1 #5540CB #8070D8
Accessibility & contrast
On white
10.10
#3E2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3E2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2CA1
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2CA1 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3e2ca1; /* rgb */ color: rgb(62, 44, 161); /* oklch */ color: oklch(39.6% 0.178 281.6);
Tailwind
colors: {
custom: {
50: '#7f67be',
500: '#3e2ca1',
950: '#000000',
},
}SCSS
$custom: #3e2ca1; $custom-light: #7f67be; $custom-dark: #000000;
JSON
{
"hex": "#3e2ca1",
"rgb": {
"r": 62,
"g": 44,
"b": 161
},
"hsl": {
"h": 249.231,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.396,
"c": 0.17787,
"h": 281.6
},
"luminance": 0.05399
}Semantic roles & 50–950 ramp
primary
#3E2CA1
secondary
#B2BF6A
accent
#E047C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81