#3F5ED7#3F5ED7
#3F5ED7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.189 H 268.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5ED7 |
|---|---|
| RGB | rgb(63, 94, 215) |
| HSL | hsl(228, 66%, 55%) |
| HSV | hsv(228, 71%, 84%) |
| CMYK | cmyk(70.7%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(44.19, 29.37, -65.50) |
| CIE-LCH | lch(44.19, 71.79, 294.15°) |
| OKLab | oklab(52.99% -0.0056 -0.1888) |
| OKLCH | oklch(52.99% 0.189 268.3) |
| XYZ | xyz(18.3141, 13.9666, 66.0074) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.79
Warm Blue
#4B57DB
ΔE00 3.18
Royal Blue
#4169E1
ΔE00 3.94
Bright Blue
#0165FC
ΔE00 5.21
Electric Blue
#0652FF
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5ED7 #D7B83F
analogous
#3FAAD7 #3F5ED7 #6C3FD7
triadic
#3F5ED7 #D73F5E #5ED73F
tetradic
#3F5ED7 #D73FAA #D7B83F #3FD76C
square
#3F5ED7 #D73FAA #D7B83F #3FD76C
split-complementary
#3F5ED7 #D76C3F #AAD73F
monochromatic
#1B3081 #2542B3 #3F5ED7 #7288E2 #A4B3EC
Accessibility & contrast
On white
5.54
#3F5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#3F5ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5ED7
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5ED7 | 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)
#0070DB
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3f5ed7; /* rgb */ color: rgb(63, 94, 215); /* oklch */ color: oklch(53.0% 0.189 268.3);
Tailwind
colors: {
custom: {
50: '#878be4',
500: '#3f5ed7',
950: '#000000',
},
}SCSS
$custom: #3f5ed7; $custom-light: #878be4; $custom-dark: #000000;
JSON
{
"hex": "#3f5ed7",
"rgb": {
"r": 63,
"g": 94,
"b": 215
},
"hsl": {
"h": 227.763,
"s": 65.517,
"l": 54.51
},
"oklch": {
"l": 0.52991,
"c": 0.18884,
"h": 268.3
},
"luminance": 0.13968
}Semantic roles & 50–950 ramp
primary
#3F5ED7
secondary
#D9CC99
accent
#C63FE8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84