#3F5FD2#3F5FD2
#3F5FD2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.181 H 267.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FD2 |
|---|---|
| RGB | rgb(63, 95, 210) |
| HSL | hsl(227, 62%, 54%) |
| HSV | hsv(227, 70%, 82%) |
| CMYK | cmyk(70%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(44.08, 26.95, -62.81) |
| CIE-LCH | lch(44.08, 68.35, 293.22°) |
| OKLab | oklab(52.8% -0.0066 -0.1808) |
| OKLCH | oklch(52.8% 0.181 267.9) |
| XYZ | xyz(17.7709, 13.8925, 62.7052) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.22
Warm Blue
#4B57DB
ΔE00 3.78
Royal Blue
#4169E1
ΔE00 3.90
Bright Blue
#0165FC
ΔE00 5.46
Cornflower Blue
#5170D7
ΔE00 5.92
Denim
#1560BD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FD2 #D2B23F
analogous
#3FA8D2 #3F5FD2 #683FD2
triadic
#3F5FD2 #D23F5F #5FD23F
tetradic
#3F5FD2 #D23FA8 #D2B23F #3FD268
square
#3F5FD2 #D23FA8 #D2B23F #3FD268
split-complementary
#3F5FD2 #D2683F #A8D23F
monochromatic
#1D317A #2845AC #3F5FD2 #7188DE #A2B2E9
Accessibility & contrast
On white
5.56
#3F5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#3F5FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FD2
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FD2 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3f5fd2; /* rgb */ color: rgb(63, 95, 210); /* oklch */ color: oklch(52.8% 0.181 267.9);
Tailwind
colors: {
custom: {
50: '#868ce1',
500: '#3f5fd2',
950: '#000000',
},
}SCSS
$custom: #3f5fd2; $custom-light: #868ce1; $custom-dark: #000000;
JSON
{
"hex": "#3f5fd2",
"rgb": {
"r": 63,
"g": 95,
"b": 210
},
"hsl": {
"h": 226.939,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.52796,
"c": 0.18096,
"h": 267.9
},
"luminance": 0.13894
}Semantic roles & 50–950 ramp
primary
#3F5FD2
secondary
#D6C897
accent
#C243E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83