#3E2FB3#3E2FB3
#3E2FB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.197 H 278.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2FB3 |
|---|---|
| RGB | rgb(62, 47, 179) |
| HSL | hsl(247, 58%, 44%) |
| HSV | hsv(247, 74%, 70%) |
| CMYK | cmyk(65.4%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(30.18, 45.60, -67.41) |
| CIE-LCH | lch(30.18, 81.39, 304.08°) |
| OKLab | oklab(41.79% 0.0298 -0.1946) |
| OKLCH | oklch(41.79% 0.197 278.7) |
| XYZ | xyz(11.1372, 6.3109, 43.2703) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.12
Blurple
#5539CC
ΔE00 5.22
Violet Blue
#510AC9
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2FB3 #A4B32F
analogous
#2F62B3 #3E2FB3 #802FB3
triadic
#3E2FB3 #B33E2F #2FB33E
tetradic
#3E2FB3 #B32F62 #A4B32F #2FB380
square
#3E2FB3 #B32F62 #A4B32F #2FB380
split-complementary
#3E2FB3 #B3802F #62B32F
monochromatic
#1C1652 #2D2283 #3E2FB3 #5D4FD1 #8A7FDD
Accessibility & contrast
On white
9.28
#3E2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#3E2FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2FB3
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2FB3 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3e2fb3; /* rgb */ color: rgb(62, 47, 179); /* oklch */ color: oklch(41.8% 0.197 278.7);
Tailwind
colors: {
custom: {
50: '#836acb',
500: '#3e2fb3',
950: '#000000',
},
}SCSS
$custom: #3e2fb3; $custom-light: #836acb; $custom-dark: #000000;
JSON
{
"hex": "#3e2fb3",
"rgb": {
"r": 62,
"g": 47,
"b": 179
},
"hsl": {
"h": 246.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41793,
"c": 0.1969,
"h": 278.7
},
"luminance": 0.06312
}Semantic roles & 50–950 ramp
primary
#3E2FB3
secondary
#BDC678
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82