#3F5CD4#3F5CD4
#3F5CD4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.187 H 268.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CD4 |
|---|---|
| RGB | rgb(63, 92, 212) |
| HSL | hsl(228, 63%, 54%) |
| HSV | hsv(228, 70%, 83%) |
| CMYK | cmyk(70.3%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(43.45, 29.57, -64.98) |
| CIE-LCH | lch(43.45, 71.39, 294.47°) |
| OKLab | oklab(52.37% -0.0041 -0.1872) |
| OKLCH | oklch(52.37% 0.187 268.7) |
| XYZ | xyz(17.7566, 13.4627, 63.9374) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.83
Azul
#1D5DEC
ΔE00 3.17
Royal Blue
#4169E1
ΔE00 4.70
Electric Blue
#0652FF
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.84
Bright Blue
#0165FC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CD4 #D4B73F
analogous
#3FA7D4 #3F5CD4 #6D3FD4
triadic
#3F5CD4 #D43F5C #5CD43F
tetradic
#3F5CD4 #D43FA7 #D4B73F #3FD46D
square
#3F5CD4 #D43FA7 #D4B73F #3FD46D
split-complementary
#3F5CD4 #D46D3F #A7D43F
monochromatic
#1C2F7D #2742AF #3F5CD4 #7186DF #A3B1EA
Accessibility & contrast
On white
5.69
#3F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#3F5CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CD4
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CD4 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5cd4; /* rgb */ color: rgb(63, 92, 212); /* oklch */ color: oklch(52.4% 0.187 268.7);
Tailwind
colors: {
custom: {
50: '#8689e2',
500: '#3f5cd4',
950: '#000000',
},
}SCSS
$custom: #3f5cd4; $custom-light: #8689e2; $custom-dark: #000000;
JSON
{
"hex": "#3f5cd4",
"rgb": {
"r": 63,
"g": 92,
"b": 212
},
"hsl": {
"h": 228.322,
"s": 63.404,
"l": 53.922
},
"oklch": {
"l": 0.52373,
"c": 0.18729,
"h": 268.7
},
"luminance": 0.13465
}Semantic roles & 50–950 ramp
primary
#3F5CD4
secondary
#D7CB98
accent
#C641E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84