#3E3983#3E3983
#3E3983 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.120 H 282.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3E3983 |
|---|---|
| RGB | rgb(62, 57, 131) |
| HSL | hsl(244, 39%, 37%) |
| HSV | hsv(244, 56%, 51%) |
| CMYK | cmyk(52.7%, 56.5%, 0%, 48.6%) |
| CIE-LAB | lab(28.35, 23.72, -41.16) |
| CIE-LCH | lch(28.35, 47.51, 299.96°) |
| OKLab | oklab(39.19% 0.0258 -0.1176) |
| OKLCH | oklch(39.19% 0.12 282.4) |
| XYZ | xyz(7.5452, 5.5887, 22.1495) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.20
Blueberry
#464196
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 7.30
Twilight
#4E518B
ΔE00 7.72
Ocean Blue
#4F42B5
ΔE00 8.34
Rebeccapurple
#663399
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E3983 #7E8339
analogous
#395983 #3E3983 #633983
triadic
#3E3983 #833E39 #39833E
tetradic
#3E3983 #833959 #7E8339 #398363
square
#3E3983 #833959 #7E8339 #398363
split-complementary
#3E3983 #836339 #598339
monochromatic
#16142E #2A2658 #3E3983 #524CAE #7974C2
Accessibility & contrast
On white
9.92
#3E3983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3E3983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E3983
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E3983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E3983 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4586
Deuteranopia (green-blind)
#044081
Tritanopia (blue-blind)
#234A58
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3e3983; /* rgb */ color: rgb(62, 57, 131); /* oklch */ color: oklch(39.2% 0.120 282.4);
Tailwind
colors: {
custom: {
50: '#796fa8',
500: '#3e3983',
950: '#000000',
},
}SCSS
$custom: #3e3983; $custom-light: #796fa8; $custom-dark: #000000;
JSON
{
"hex": "#3e3983",
"rgb": {
"r": 62,
"g": 57,
"b": 131
},
"hsl": {
"h": 244.054,
"s": 39.362,
"l": 36.863
},
"oklch": {
"l": 0.39192,
"c": 0.12038,
"h": 282.4
},
"luminance": 0.05589
}Semantic roles & 50–950 ramp
primary
#3E3983
secondary
#A7AC6C
accent
#CF59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F