#3F5FD4#3F5FD4
#3F5FD4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.184 H 268.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FD4 |
|---|---|
| RGB | rgb(63, 95, 212) |
| HSL | hsl(227, 63%, 54%) |
| HSV | hsv(227, 70%, 83%) |
| CMYK | cmyk(70.3%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(44.22, 27.67, -63.72) |
| CIE-LCH | lch(44.22, 69.47, 293.47°) |
| OKLab | oklab(52.95% -0.0065 -0.1835) |
| OKLCH | oklch(52.95% 0.184 268) |
| XYZ | xyz(18.0217, 13.9928, 64.0257) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 3.65
Royal Blue
#4169E1
ΔE00 3.78
Bright Blue
#0165FC
ΔE00 5.28
Cornflower Blue
#5170D7
ΔE00 5.87
Electric Blue
#0652FF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FD4 #D4B43F
analogous
#3FAAD4 #3F5FD4 #6A3FD4
triadic
#3F5FD4 #D43F5F #5FD43F
tetradic
#3F5FD4 #D43FAA #D4B43F #3FD46A
square
#3F5FD4 #D43FAA #D4B43F #3FD46A
split-complementary
#3F5FD4 #D46A3F #AAD43F
monochromatic
#1C317D #2744AF #3F5FD4 #7189DF #A3B2EA
Accessibility & contrast
On white
5.53
#3F5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#3F5FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FD4
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FD4 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3f5fd4; /* rgb */ color: rgb(63, 95, 212); /* oklch */ color: oklch(52.9% 0.184 268.0);
Tailwind
colors: {
custom: {
50: '#868ce2',
500: '#3f5fd4',
950: '#000000',
},
}SCSS
$custom: #3f5fd4; $custom-light: #868ce2; $custom-dark: #000000;
JSON
{
"hex": "#3f5fd4",
"rgb": {
"r": 63,
"g": 95,
"b": 212
},
"hsl": {
"h": 227.114,
"s": 63.404,
"l": 53.922
},
"oklch": {
"l": 0.5295,
"c": 0.18363,
"h": 268
},
"luminance": 0.13995
}Semantic roles & 50–950 ramp
primary
#3F5FD4
secondary
#D7CA98
accent
#C341E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83