#3F5DC1#3F5DC1
#3F5DC1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.160 H 267.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DC1 |
|---|---|
| RGB | rgb(63, 93, 193) |
| HSL | hsl(226, 51%, 50%) |
| HSV | hsv(226, 67%, 76%) |
| CMYK | cmyk(67.4%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(42.36, 22.13, -55.79) |
| CIE-LCH | lch(42.36, 60.02, 291.63°) |
| OKLab | oklab(51.12% -0.0062 -0.1602) |
| OKLCH | oklch(51.12% 0.16 267.8) |
| XYZ | xyz(15.5866, 12.7342, 52.0783) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.97
Warm Blue
#4B57DB
ΔE00 5.00
Denim
#1560BD
ΔE00 5.05
Azul
#1D5DEC
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.75
French Blue
#436BAD
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DC1 #C1A33F
analogous
#3F9EC1 #3F5DC1 #623FC1
triadic
#3F5DC1 #C13F5D #5DC13F
tetradic
#3F5DC1 #C13F9E #C1A33F #3FC162
square
#3F5DC1 #C13F9E #C1A33F #3FC162
split-complementary
#3F5DC1 #C1623F #9EC13F
monochromatic
#213065 #304793 #3F5DC1 #6D84D0 #9CABDF
Accessibility & contrast
On white
5.92
#3F5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#3F5DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DC1
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DC1 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5dc1; /* rgb */ color: rgb(63, 93, 193); /* oklch */ color: oklch(51.1% 0.160 267.8);
Tailwind
colors: {
custom: {
50: '#838ad4',
500: '#3f5dc1',
950: '#000000',
},
}SCSS
$custom: #3f5dc1; $custom-light: #838ad4; $custom-dark: #000000;
JSON
{
"hex": "#3f5dc1",
"rgb": {
"r": 63,
"g": 93,
"b": 193
},
"hsl": {
"h": 226.154,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.51122,
"c": 0.16032,
"h": 267.8
},
"luminance": 0.12736
}Semantic roles & 50–950 ramp
primary
#3F5DC1
secondary
#CBBE91
accent
#BA4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83