#3F5FD5#3F5FD5
#3F5FD5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.185 H 268.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FD5 |
|---|---|
| RGB | rgb(63, 95, 213) |
| HSL | hsl(227, 64%, 54%) |
| HSV | hsv(227, 70%, 84%) |
| CMYK | cmyk(70.4%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(44.30, 28.02, -64.18) |
| CIE-LCH | lch(44.30, 70.03, 293.59°) |
| OKLab | oklab(53.03% -0.0064 -0.1849) |
| OKLCH | oklch(53.03% 0.185 268) |
| XYZ | xyz(18.1482, 14.0434, 64.6921) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.94
Warm Blue
#4B57DB
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 3.73
Bright Blue
#0165FC
ΔE00 5.19
Electric Blue
#0652FF
ΔE00 5.82
Cornflower Blue
#5170D7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FD5 #D5B53F
analogous
#3FAAD5 #3F5FD5 #6A3FD5
triadic
#3F5FD5 #D53F5F #5FD53F
tetradic
#3F5FD5 #D53FAA #D5B53F #3FD56A
square
#3F5FD5 #D53FAA #D5B53F #3FD56A
split-complementary
#3F5FD5 #D56A3F #AAD53F
monochromatic
#1C317E #2744B0 #3F5FD5 #7189E0 #A3B3EB
Accessibility & contrast
On white
5.51
#3F5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#3F5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FD5
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FD5 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3f5fd5; /* rgb */ color: rgb(63, 95, 213); /* oklch */ color: oklch(53.0% 0.185 268.0);
Tailwind
colors: {
custom: {
50: '#868ce3',
500: '#3f5fd5',
950: '#000000',
},
}SCSS
$custom: #3f5fd5; $custom-light: #868ce3; $custom-dark: #000000;
JSON
{
"hex": "#3f5fd5",
"rgb": {
"r": 63,
"g": 95,
"b": 213
},
"hsl": {
"h": 227.2,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.53028,
"c": 0.18497,
"h": 268
},
"luminance": 0.14045
}Semantic roles & 50–950 ramp
primary
#3F5FD5
secondary
#D8CA98
accent
#C441E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84