#3F5DC3#3F5DC3
#3F5DC3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.163 H 267.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DC3 |
|---|---|
| RGB | rgb(63, 93, 195) |
| HSL | hsl(226, 52%, 51%) |
| HSV | hsv(226, 68%, 76%) |
| CMYK | cmyk(67.7%, 52.3%, 0%, 23.5%) |
| CIE-LAB | lab(42.50, 22.84, -56.73) |
| CIE-LCH | lch(42.50, 61.15, 291.94°) |
| OKLab | oklab(51.27% -0.006 -0.163) |
| OKLCH | oklch(51.27% 0.163 267.9) |
| XYZ | xyz(15.8112, 12.8241, 53.2612) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.76
Azul
#1D5DEC
ΔE00 4.92
Sapphire
#0F52BA
ΔE00 5.08
Denim
#1560BD
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.57
French Blue
#436BAD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DC3 #C3A53F
analogous
#3F9FC3 #3F5DC3 #633FC3
triadic
#3F5DC3 #C33F5D #5DC33F
tetradic
#3F5DC3 #C33F9F #C3A53F #3FC363
square
#3F5DC3 #C33F9F #C3A53F #3FC363
split-complementary
#3F5DC3 #C3633F #9FC33F
monochromatic
#203067 #2F4696 #3F5DC3 #6E84D2 #9CACE0
Accessibility & contrast
On white
5.89
#3F5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3F5DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DC3
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DC3 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5dc3; /* rgb */ color: rgb(63, 93, 195); /* oklch */ color: oklch(51.3% 0.163 267.9);
Tailwind
colors: {
custom: {
50: '#838ad6',
500: '#3f5dc3',
950: '#000000',
},
}SCSS
$custom: #3f5dc3; $custom-light: #838ad6; $custom-dark: #000000;
JSON
{
"hex": "#3f5dc3",
"rgb": {
"r": 63,
"g": 93,
"b": 195
},
"hsl": {
"h": 226.364,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.51269,
"c": 0.16308,
"h": 267.9
},
"luminance": 0.12826
}Semantic roles & 50–950 ramp
primary
#3F5DC3
secondary
#CCBF92
accent
#BB4CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83