#3F5CD3#3F5CD3
#3F5CD3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.186 H 268.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CD3 |
|---|---|
| RGB | rgb(63, 92, 211) |
| HSL | hsl(228, 63%, 54%) |
| HSV | hsv(228, 70%, 83%) |
| CMYK | cmyk(70.1%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(43.38, 29.22, -64.52) |
| CIE-LCH | lch(43.38, 70.83, 294.36°) |
| OKLab | oklab(52.29% -0.0042 -0.1859) |
| OKLCH | oklch(52.29% 0.186 268.7) |
| XYZ | xyz(17.6309, 13.4124, 63.2751) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.91
Azul
#1D5DEC
ΔE00 3.26
Royal Blue
#4169E1
ΔE00 4.74
Electric Blue
#0652FF
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 5.88
Bright Blue
#0165FC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CD3 #D3B63F
analogous
#3FA6D3 #3F5CD3 #6C3FD3
triadic
#3F5CD3 #D33F5C #5CD33F
tetradic
#3F5CD3 #D33FA6 #D3B63F #3FD36C
square
#3F5CD3 #D33FA6 #D3B63F #3FD36C
split-complementary
#3F5CD3 #D36C3F #A6D33F
monochromatic
#1C2F7B #2842AD #3F5CD3 #7186DE #A3B1EA
Accessibility & contrast
On white
5.70
#3F5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#3F5CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CD3
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CD3 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3f5cd3; /* rgb */ color: rgb(63, 92, 211); /* oklch */ color: oklch(52.3% 0.186 268.7);
Tailwind
colors: {
custom: {
50: '#8689e1',
500: '#3f5cd3',
950: '#000000',
},
}SCSS
$custom: #3f5cd3; $custom-light: #8689e1; $custom-dark: #000000;
JSON
{
"hex": "#3f5cd3",
"rgb": {
"r": 63,
"g": 92,
"b": 211
},
"hsl": {
"h": 228.243,
"s": 62.712,
"l": 53.725
},
"oklch": {
"l": 0.52294,
"c": 0.18596,
"h": 268.7
},
"luminance": 0.13414
}Semantic roles & 50–950 ramp
primary
#3F5CD3
secondary
#D7CA97
accent
#C642E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83