#3F5CD6#3F5CD6
#3F5CD6 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.190 H 268.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CD6 |
|---|---|
| RGB | rgb(63, 92, 214) |
| HSL | hsl(228, 65%, 54%) |
| HSV | hsv(228, 71%, 84%) |
| CMYK | cmyk(70.6%, 57%, 0%, 16.1%) |
| CIE-LAB | lab(43.60, 30.28, -65.88) |
| CIE-LCH | lch(43.60, 72.51, 294.69°) |
| OKLab | oklab(52.53% -0.0041 -0.1899) |
| OKLCH | oklch(52.53% 0.19 268.8) |
| XYZ | xyz(18.0105, 13.5643, 65.2743) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.69
Azul
#1D5DEC
ΔE00 3.01
Royal Blue
#4169E1
ΔE00 4.61
Electric Blue
#0652FF
ΔE00 5.22
Bright Blue
#0165FC
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CD6 #D6B93F
analogous
#3FA8D6 #3F5CD6 #6E3FD6
triadic
#3F5CD6 #D63F5C #5CD63F
tetradic
#3F5CD6 #D63FA8 #D6B93F #3FD66E
square
#3F5CD6 #D63FA8 #D6B93F #3FD66E
split-complementary
#3F5CD6 #D66E3F #A8D63F
monochromatic
#1B2E7F #2641B2 #3F5CD6 #7187E1 #A4B2EC
Accessibility & contrast
On white
5.66
#3F5CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#3F5CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CD6
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CD6 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5cd6; /* rgb */ color: rgb(63, 92, 214); /* oklch */ color: oklch(52.5% 0.190 268.8);
Tailwind
colors: {
custom: {
50: '#8789e3',
500: '#3f5cd6',
950: '#000000',
},
}SCSS
$custom: #3f5cd6; $custom-light: #8789e3; $custom-dark: #000000;
JSON
{
"hex": "#3f5cd6",
"rgb": {
"r": 63,
"g": 92,
"b": 214
},
"hsl": {
"h": 228.477,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.52531,
"c": 0.18993,
"h": 268.8
},
"luminance": 0.13566
}Semantic roles & 50–950 ramp
primary
#3F5CD6
secondary
#D8CC98
accent
#C840E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84