#3E5FD4#3E5FD4
#3E5FD4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.184 H 267.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3E5FD4 |
|---|---|
| RGB | rgb(62, 95, 212) |
| HSL | hsl(227, 64%, 54%) |
| HSV | hsv(227, 71%, 83%) |
| CMYK | cmyk(70.8%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(44.18, 27.53, -63.80) |
| CIE-LCH | lch(44.18, 69.49, 293.34°) |
| OKLab | oklab(52.9% -0.0074 -0.1838) |
| OKLCH | oklch(52.9% 0.184 267.7) |
| XYZ | xyz(17.9584, 13.9602, 64.0227) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 3.73
Royal Blue
#4169E1
ΔE00 3.78
Bright Blue
#0165FC
ΔE00 5.24
Cornflower Blue
#5170D7
ΔE00 5.89
Electric Blue
#0652FF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E5FD4 #D4B33E
analogous
#3EAAD4 #3E5FD4 #683ED4
triadic
#3E5FD4 #D43E5F #5FD43E
tetradic
#3E5FD4 #D43EAA #D4B33E #3ED468
square
#3E5FD4 #D43EAA #D4B33E #3ED468
split-complementary
#3E5FD4 #D4683E #AAD43E
monochromatic
#1C317C #2745AE #3E5FD4 #7088DF #A2B2EA
Accessibility & contrast
On white
5.54
#3E5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#3E5FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E5FD4
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E5FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E5FD4 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3e5fd4; /* rgb */ color: rgb(62, 95, 212); /* oklch */ color: oklch(52.9% 0.184 267.7);
Tailwind
colors: {
custom: {
50: '#868ce2',
500: '#3e5fd4',
950: '#000000',
},
}SCSS
$custom: #3e5fd4; $custom-light: #868ce2; $custom-dark: #000000;
JSON
{
"hex": "#3e5fd4",
"rgb": {
"r": 62,
"g": 95,
"b": 212
},
"hsl": {
"h": 226.8,
"s": 63.559,
"l": 53.725
},
"oklch": {
"l": 0.52902,
"c": 0.18392,
"h": 267.7
},
"luminance": 0.13962
}Semantic roles & 50–950 ramp
primary
#3E5FD4
secondary
#D7C997
accent
#C241E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83