#3E5FD9#3E5FD9
#3E5FD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.191 H 267.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3E5FD9 |
|---|---|
| RGB | rgb(62, 95, 217) |
| HSL | hsl(227, 67%, 55%) |
| HSV | hsv(227, 71%, 85%) |
| CMYK | cmyk(71.4%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(44.54, 29.33, -66.06) |
| CIE-LCH | lch(44.54, 72.28, 293.94°) |
| OKLab | oklab(53.29% -0.0071 -0.1904) |
| OKLCH | oklch(53.29% 0.191 267.9) |
| XYZ | xyz(18.5989, 14.2164, 67.3960) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.56
Warm Blue
#4B57DB
ΔE00 3.46
Royal Blue
#4169E1
ΔE00 3.54
Bright Blue
#0165FC
ΔE00 4.81
Electric Blue
#0652FF
ΔE00 5.45
Cornflower Blue
#5170D7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E5FD9 #D9B83E
analogous
#3EACD9 #3E5FD9 #6B3ED9
triadic
#3E5FD9 #D93E5F #5FD93E
tetradic
#3E5FD9 #D93EAC #D9B83E #3ED96B
square
#3E5FD9 #D93EAC #D9B83E #3ED96B
split-complementary
#3E5FD9 #D96B3E #ACD93E
monochromatic
#1A3083 #2443B6 #3E5FD9 #7189E3 #A4B4ED
Accessibility & contrast
On white
5.46
#3E5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#3E5FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E5FD9
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E5FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E5FD9 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3e5fd9; /* rgb */ color: rgb(62, 95, 217); /* oklch */ color: oklch(53.3% 0.191 267.9);
Tailwind
colors: {
custom: {
50: '#878ce6',
500: '#3e5fd9',
950: '#000000',
},
}SCSS
$custom: #3e5fd9; $custom-light: #878ce6; $custom-dark: #000000;
JSON
{
"hex": "#3e5fd9",
"rgb": {
"r": 62,
"g": 95,
"b": 217
},
"hsl": {
"h": 227.226,
"s": 67.1,
"l": 54.706
},
"oklch": {
"l": 0.53292,
"c": 0.19055,
"h": 267.9
},
"luminance": 0.14218
}Semantic roles & 50–950 ramp
primary
#3E5FD9
secondary
#DACC99
accent
#C53EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84