#3F5FD9#3F5FD9
#3F5FD9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.190 H 268.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FD9 |
|---|---|
| RGB | rgb(63, 95, 217) |
| HSL | hsl(228, 67%, 55%) |
| HSV | hsv(228, 71%, 85%) |
| CMYK | cmyk(71%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(44.59, 29.46, -65.99) |
| CIE-LCH | lch(44.59, 72.26, 294.06°) |
| OKLab | oklab(53.34% -0.0062 -0.1902) |
| OKLCH | oklch(53.34% 0.19 268.1) |
| XYZ | xyz(18.6622, 14.2490, 67.3990) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 3.38
Royal Blue
#4169E1
ΔE00 3.55
Bright Blue
#0165FC
ΔE00 4.85
Electric Blue
#0652FF
ΔE00 5.45
Cornflower Blue
#5170D7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FD9 #D9B93F
analogous
#3FACD9 #3F5FD9 #6C3FD9
triadic
#3F5FD9 #D93F5F #5FD93F
tetradic
#3F5FD9 #D93FAC #D9B93F #3FD96C
square
#3F5FD9 #D93FAC #D9B93F #3FD96C
split-complementary
#3F5FD9 #D96C3F #ACD93F
monochromatic
#1A3084 #2443B7 #3F5FD9 #728AE3 #A5B4ED
Accessibility & contrast
On white
5.45
#3F5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#3F5FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FD9
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FD9 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3f5fd9; /* rgb */ color: rgb(63, 95, 217); /* oklch */ color: oklch(53.3% 0.190 268.1);
Tailwind
colors: {
custom: {
50: '#878ce6',
500: '#3f5fd9',
950: '#000000',
},
}SCSS
$custom: #3f5fd9; $custom-light: #878ce6; $custom-dark: #000000;
JSON
{
"hex": "#3f5fd9",
"rgb": {
"r": 63,
"g": 95,
"b": 217
},
"hsl": {
"h": 227.532,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.5334,
"c": 0.19027,
"h": 268.1
},
"luminance": 0.14251
}Semantic roles & 50–950 ramp
primary
#3F5FD9
secondary
#DACD9A
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84