#3F5DD4#3F5DD4
#3F5DD4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DD4 |
|---|---|
| RGB | rgb(63, 93, 212) |
| HSL | hsl(228, 63%, 54%) |
| HSV | hsv(228, 70%, 83%) |
| CMYK | cmyk(70.3%, 56.1%, 0%, 16.9%) |
| CIE-LAB | lab(43.71, 28.94, -64.56) |
| CIE-LCH | lch(43.71, 70.75, 294.14°) |
| OKLab | oklab(52.56% -0.0049 -0.186) |
| OKLCH | oklch(52.56% 0.186 268.5) |
| XYZ | xyz(17.8438, 13.6371, 63.9664) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.09
Azul
#1D5DEC
ΔE00 3.09
Royal Blue
#4169E1
ΔE00 4.39
Electric Blue
#0652FF
ΔE00 5.58
Bright Blue
#0165FC
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DD4 #D4B63F
analogous
#3FA8D4 #3F5DD4 #6C3FD4
triadic
#3F5DD4 #D43F5D #5DD43F
tetradic
#3F5DD4 #D43FA8 #D4B63F #3FD46C
square
#3F5DD4 #D43FA8 #D4B63F #3FD46C
split-complementary
#3F5DD4 #D46C3F #A8D43F
monochromatic
#1C2F7D #2742AF #3F5DD4 #7187DF #A3B1EA
Accessibility & contrast
On white
5.63
#3F5DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#3F5DD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DD4
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DD4 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5dd4; /* rgb */ color: rgb(63, 93, 212); /* oklch */ color: oklch(52.6% 0.186 268.5);
Tailwind
colors: {
custom: {
50: '#868ae2',
500: '#3f5dd4',
950: '#000000',
},
}SCSS
$custom: #3f5dd4; $custom-light: #868ae2; $custom-dark: #000000;
JSON
{
"hex": "#3f5dd4",
"rgb": {
"r": 63,
"g": 93,
"b": 212
},
"hsl": {
"h": 227.919,
"s": 63.404,
"l": 53.922
},
"oklch": {
"l": 0.52564,
"c": 0.18607,
"h": 268.5
},
"luminance": 0.13639
}Semantic roles & 50–950 ramp
primary
#3F5DD4
secondary
#D7CA98
accent
#C541E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84