#3E51D2#3E51D2
#3E51D2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.198 H 270.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3E51D2 |
|---|---|
| RGB | rgb(62, 81, 210) |
| HSL | hsl(232, 62%, 53%) |
| HSV | hsv(232, 70%, 82%) |
| CMYK | cmyk(70.5%, 61.4%, 0%, 17.6%) |
| CIE-LAB | lab(40.51, 35.68, -68.63) |
| CIE-LCH | lch(40.51, 77.34, 297.47°) |
| OKLab | oklab(50.12% 0.0031 -0.1981) |
| OKLCH | oklch(50.12% 0.198 270.9) |
| XYZ | xyz(16.5579, 11.5605, 62.3190) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Blue (survey)
#0343DF
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.22
Azul
#1D5DEC
ΔE00 5.43
Iris
#6258C4
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E51D2 #D2BF3E
analogous
#3E9BD2 #3E51D2 #753ED2
triadic
#3E51D2 #D23E51 #51D23E
tetradic
#3E51D2 #D23E9B #D2BF3E #3ED275
square
#3E51D2 #D23E9B #D2BF3E #3ED275
split-complementary
#3E51D2 #D2753E #9BD23E
monochromatic
#1C2879 #2839AB #3E51D2 #707EDE #A1AAE9
Accessibility & contrast
On white
6.34
#3E51D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#3E51D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E51D2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E51D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E51D2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3e51d2; /* rgb */ color: rgb(62, 81, 210); /* oklch */ color: oklch(50.1% 0.198 270.9);
Tailwind
colors: {
custom: {
50: '#8681e1',
500: '#3e51d2',
950: '#000000',
},
}SCSS
$custom: #3e51d2; $custom-light: #8681e1; $custom-dark: #000000;
JSON
{
"hex": "#3e51d2",
"rgb": {
"r": 62,
"g": 81,
"b": 210
},
"hsl": {
"h": 232.297,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.50122,
"c": 0.19813,
"h": 270.9
},
"luminance": 0.11562
}Semantic roles & 50–950 ramp
primary
#3E51D2
secondary
#D6CE96
accent
#D043E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83