#3E31B3#3E31B3
#3E31B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.195 H 278.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3E31B3 |
|---|---|
| RGB | rgb(62, 49, 179) |
| HSL | hsl(246, 57%, 45%) |
| HSV | hsv(246, 73%, 70%) |
| CMYK | cmyk(65.4%, 72.6%, 0%, 29.8%) |
| CIE-LAB | lab(30.58, 44.50, -66.76) |
| CIE-LCH | lch(30.58, 80.23, 303.68°) |
| OKLab | oklab(42.07% 0.0285 -0.1927) |
| OKLCH | oklch(42.07% 0.195 278.4) |
| XYZ | xyz(11.2190, 6.4745, 43.2976) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 4.71
Indigo Blue
#3A18B1
ΔE00 4.82
Blurple
#5539CC
ΔE00 5.04
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E31B3 #A6B331
analogous
#3165B3 #3E31B3 #7F31B3
triadic
#3E31B3 #B33E31 #31B33E
tetradic
#3E31B3 #B33165 #A6B331 #31B37F
square
#3E31B3 #B33165 #A6B331 #31B37F
split-complementary
#3E31B3 #B37F31 #65B331
monochromatic
#1D1753 #2D2483 #3E31B3 #5E52D0 #8B82DD
Accessibility & contrast
On white
9.15
#3E31B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#3E31B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E31B3
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E31B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E31B3 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3e31b3; /* rgb */ color: rgb(62, 49, 179); /* oklch */ color: oklch(42.1% 0.195 278.4);
Tailwind
colors: {
custom: {
50: '#826bcb',
500: '#3e31b3',
950: '#000000',
},
}SCSS
$custom: #3e31b3; $custom-light: #826bcb; $custom-dark: #000000;
JSON
{
"hex": "#3e31b3",
"rgb": {
"r": 62,
"g": 49,
"b": 179
},
"hsl": {
"h": 246,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.42074,
"c": 0.19484,
"h": 278.4
},
"luminance": 0.06475
}Semantic roles & 50–950 ramp
primary
#3E31B3
secondary
#BEC67A
accent
#E048D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82