#3F5DD7#3F5DD7
#3F5DD7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.190 H 268.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DD7 |
|---|---|
| RGB | rgb(63, 93, 215) |
| HSL | hsl(228, 66%, 55%) |
| HSV | hsv(228, 71%, 84%) |
| CMYK | cmyk(70.7%, 56.7%, 0%, 15.7%) |
| CIE-LAB | lab(43.93, 30.01, -65.91) |
| CIE-LCH | lch(43.93, 72.42, 294.48°) |
| OKLab | oklab(52.8% -0.0048 -0.19) |
| OKLCH | oklch(52.8% 0.19 268.6) |
| XYZ | xyz(18.2258, 13.7899, 65.9780) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.84
Warm Blue
#4B57DB
ΔE00 2.89
Royal Blue
#4169E1
ΔE00 4.26
Electric Blue
#0652FF
ΔE00 5.27
Bright Blue
#0165FC
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DD7 #D7B93F
analogous
#3FA9D7 #3F5DD7 #6D3FD7
triadic
#3F5DD7 #D73F5D #5DD73F
tetradic
#3F5DD7 #D73FA9 #D7B93F #3FD76D
square
#3F5DD7 #D73FA9 #D7B93F #3FD76D
split-complementary
#3F5DD7 #D76D3F #A9D73F
monochromatic
#1B2F81 #2541B3 #3F5DD7 #7288E2 #A4B2EC
Accessibility & contrast
On white
5.59
#3F5DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#3F5DD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DD7
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DD7 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3f5dd7; /* rgb */ color: rgb(63, 93, 215); /* oklch */ color: oklch(52.8% 0.190 268.6);
Tailwind
colors: {
custom: {
50: '#878ae4',
500: '#3f5dd7',
950: '#000000',
},
}SCSS
$custom: #3f5dd7; $custom-light: #878ae4; $custom-dark: #000000;
JSON
{
"hex": "#3f5dd7",
"rgb": {
"r": 63,
"g": 93,
"b": 215
},
"hsl": {
"h": 228.158,
"s": 65.517,
"l": 54.51
},
"oklch": {
"l": 0.528,
"c": 0.19005,
"h": 268.6
},
"luminance": 0.13792
}Semantic roles & 50–950 ramp
primary
#3F5DD7
secondary
#D9CC99
accent
#C73FE8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84