#3F5FD6#3F5FD6
#3F5FD6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.186 H 268.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FD6 |
|---|---|
| RGB | rgb(63, 95, 214) |
| HSL | hsl(227, 65%, 54%) |
| HSV | hsv(227, 71%, 84%) |
| CMYK | cmyk(70.6%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(44.37, 28.38, -64.63) |
| CIE-LCH | lch(44.37, 70.59, 293.71°) |
| OKLab | oklab(53.11% -0.0064 -0.1862) |
| OKLCH | oklch(53.11% 0.186 268) |
| XYZ | xyz(18.2755, 14.0944, 65.3626) |
| Luminance | 0.1410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.86
Warm Blue
#4B57DB
ΔE00 3.53
Royal Blue
#4169E1
ΔE00 3.68
Bright Blue
#0165FC
ΔE00 5.10
Electric Blue
#0652FF
ΔE00 5.73
Cornflower Blue
#5170D7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FD6 #D6B63F
analogous
#3FAAD6 #3F5FD6 #6B3FD6
triadic
#3F5FD6 #D63F5F #5FD63F
tetradic
#3F5FD6 #D63FAA #D6B63F #3FD66B
square
#3F5FD6 #D63FAA #D6B63F #3FD66B
split-complementary
#3F5FD6 #D66B3F #AAD63F
monochromatic
#1B307F #2644B2 #3F5FD6 #7189E1 #A4B3EC
Accessibility & contrast
On white
5.50
#3F5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#3F5FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FD6
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FD6 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3f5fd6; /* rgb */ color: rgb(63, 95, 214); /* oklch */ color: oklch(53.1% 0.186 268.0);
Tailwind
colors: {
custom: {
50: '#878ce3',
500: '#3f5fd6',
950: '#000000',
},
}SCSS
$custom: #3f5fd6; $custom-light: #878ce3; $custom-dark: #000000;
JSON
{
"hex": "#3f5fd6",
"rgb": {
"r": 63,
"g": 95,
"b": 214
},
"hsl": {
"h": 227.285,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.53105,
"c": 0.1863,
"h": 268
},
"luminance": 0.14096
}Semantic roles & 50–950 ramp
primary
#3F5FD6
secondary
#D8CB98
accent
#C440E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84