#3E5FD8#3E5FD8
#3E5FD8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.189 H 267.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3E5FD8 |
|---|---|
| RGB | rgb(62, 95, 216) |
| HSL | hsl(227, 66%, 55%) |
| HSV | hsv(227, 71%, 85%) |
| CMYK | cmyk(71.3%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(44.47, 28.97, -65.61) |
| CIE-LCH | lch(44.47, 71.72, 293.82°) |
| OKLab | oklab(53.21% -0.0072 -0.1891) |
| OKLCH | oklch(53.21% 0.189 267.8) |
| XYZ | xyz(18.4692, 14.1645, 66.7131) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.51
Royal Blue
#4169E1
ΔE00 3.58
Bright Blue
#0165FC
ΔE00 4.89
Electric Blue
#0652FF
ΔE00 5.54
Cornflower Blue
#5170D7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E5FD8 #D8B73E
analogous
#3EACD8 #3E5FD8 #6A3ED8
triadic
#3E5FD8 #D83E5F #5FD83E
tetradic
#3E5FD8 #D83EAC #D8B73E #3ED86A
square
#3E5FD8 #D83EAC #D8B73E #3ED86A
split-complementary
#3E5FD8 #D86A3E #ACD83E
monochromatic
#1A3081 #2443B4 #3E5FD8 #7189E2 #A4B3ED
Accessibility & contrast
On white
5.48
#3E5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#3E5FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E5FD8
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E5FD8 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3e5fd8; /* rgb */ color: rgb(62, 95, 216); /* oklch */ color: oklch(53.2% 0.189 267.8);
Tailwind
colors: {
custom: {
50: '#878ce5',
500: '#3e5fd8',
950: '#000000',
},
}SCSS
$custom: #3e5fd8; $custom-light: #878ce5; $custom-dark: #000000;
JSON
{
"hex": "#3e5fd8",
"rgb": {
"r": 62,
"g": 95,
"b": 216
},
"hsl": {
"h": 227.143,
"s": 66.379,
"l": 54.51
},
"oklch": {
"l": 0.53214,
"c": 0.18924,
"h": 267.8
},
"luminance": 0.14166
}Semantic roles & 50–950 ramp
primary
#3E5FD8
secondary
#D9CC98
accent
#C53EE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84