#3971C5#3971C5
#3971C5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.144 H 258.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3971C5 |
|---|---|
| RGB | rgb(57, 113, 197) |
| HSL | hsl(216, 55%, 50%) |
| HSV | hsv(216, 71%, 77%) |
| CMYK | cmyk(71.1%, 42.6%, 0%, 22.7%) |
| CIE-LAB | lab(47.89, 9.95, -49.23) |
| CIE-LCH | lch(47.89, 50.22, 281.43°) |
| OKLab | oklab(55.37% -0.0288 -0.1407) |
| OKLCH | oklch(55.37% 0.144 258.4) |
| XYZ | xyz(17.6669, 16.7094, 55.1067) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.38
Windows Blue
#3778BF
ΔE00 3.17
French Blue
#436BAD
ΔE00 3.65
Flat Blue
#3C73A8
ΔE00 3.78
Mid Blue
#276AB3
ΔE00 3.94
Bluish
#2976BB
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3971C5 #C58D39
analogous
#39B7C5 #3971C5 #4739C5
triadic
#3971C5 #C53971 #71C539
tetradic
#3971C5 #C539B7 #C58D39 #39C547
square
#3971C5 #C539B7 #C58D39 #39C547
split-complementary
#3971C5 #C54739 #B7C539
monochromatic
#1E3B66 #2B5696 #3971C5 #6893D3 #97B5E1
Accessibility & contrast
On white
4.84
#3971C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#3971C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3971C5
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3971C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3971C5 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4879C8
Deuteranopia (green-blind)
#306CC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3971c5; /* rgb */ color: rgb(57, 113, 197); /* oklch */ color: oklch(55.4% 0.144 258.4);
Tailwind
colors: {
custom: {
50: '#8099d7',
500: '#3971c5',
950: '#000000',
},
}SCSS
$custom: #3971c5; $custom-light: #8099d7; $custom-dark: #000000;
JSON
{
"hex": "#3971c5",
"rgb": {
"r": 57,
"g": 113,
"b": 197
},
"hsl": {
"h": 216,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.55369,
"c": 0.1436,
"h": 258.4
},
"luminance": 0.16711
}Semantic roles & 50–950 ramp
primary
#3971C5
secondary
#CDB38D
accent
#A349DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83