#3F5CD5#3F5CD5
#3F5CD5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.189 H 268.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CD5 |
|---|---|
| RGB | rgb(63, 92, 213) |
| HSL | hsl(228, 64%, 54%) |
| HSV | hsv(228, 70%, 84%) |
| CMYK | cmyk(70.4%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(43.53, 29.93, -65.43) |
| CIE-LCH | lch(43.53, 71.95, 294.58°) |
| OKLab | oklab(52.45% -0.0041 -0.1886) |
| OKLCH | oklch(52.45% 0.189 268.8) |
| XYZ | xyz(17.8832, 13.5133, 64.6038) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.76
Azul
#1D5DEC
ΔE00 3.09
Royal Blue
#4169E1
ΔE00 4.65
Electric Blue
#0652FF
ΔE00 5.32
Bright Blue
#0165FC
ΔE00 5.79
Dark Periwinkle
#665FD1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CD5 #D5B83F
analogous
#3FA7D5 #3F5CD5 #6D3FD5
triadic
#3F5CD5 #D53F5C #5CD53F
tetradic
#3F5CD5 #D53FA7 #D5B83F #3FD56D
square
#3F5CD5 #D53FA7 #D5B83F #3FD56D
split-complementary
#3F5CD5 #D56D3F #A7D53F
monochromatic
#1C2F7E #2741B0 #3F5CD5 #7187E0 #A3B1EB
Accessibility & contrast
On white
5.67
#3F5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#3F5CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CD5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CD5 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5cd5; /* rgb */ color: rgb(63, 92, 213); /* oklch */ color: oklch(52.5% 0.189 268.8);
Tailwind
colors: {
custom: {
50: '#8789e3',
500: '#3f5cd5',
950: '#000000',
},
}SCSS
$custom: #3f5cd5; $custom-light: #8789e3; $custom-dark: #000000;
JSON
{
"hex": "#3f5cd5",
"rgb": {
"r": 63,
"g": 92,
"b": 213
},
"hsl": {
"h": 228.4,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.52452,
"c": 0.18861,
"h": 268.8
},
"luminance": 0.13515
}Semantic roles & 50–950 ramp
primary
#3F5CD5
secondary
#D8CB98
accent
#C741E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84