#3971C2#3971C2
#3971C2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.140 H 257.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3971C2 |
|---|---|
| RGB | rgb(57, 113, 194) |
| HSL | hsl(215, 55%, 49%) |
| HSV | hsv(215, 71%, 76%) |
| CMYK | cmyk(70.6%, 41.8%, 0%, 23.9%) |
| CIE-LAB | lab(47.72, 8.86, -47.78) |
| CIE-LCH | lch(47.72, 48.59, 280.50°) |
| OKLab | oklab(55.18% -0.0294 -0.1364) |
| OKLCH | oklch(55.18% 0.14 257.8) |
| XYZ | xyz(17.3265, 16.5733, 53.3143) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.07
Windows Blue
#3778BF
ΔE00 3.03
Flat Blue
#3C73A8
ΔE00 3.47
French Blue
#436BAD
ΔE00 3.47
Mid Blue
#276AB3
ΔE00 3.66
Bluish
#2976BB
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3971C2 #C28A39
analogous
#39B6C2 #3971C2 #4539C2
triadic
#3971C2 #C23971 #71C239
tetradic
#3971C2 #C239B6 #C28A39 #39C245
square
#3971C2 #C239B6 #C28A39 #39C245
split-complementary
#3971C2 #C24539 #B6C239
monochromatic
#1D3A63 #2B5593 #3971C2 #6692D2 #95B4E0
Accessibility & contrast
On white
4.87
#3971C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#3971C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3971C2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3971C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3971C2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3971c2; /* rgb */ color: rgb(57, 113, 194); /* oklch */ color: oklch(55.2% 0.140 257.8);
Tailwind
colors: {
custom: {
50: '#8099d5',
500: '#3971c2',
950: '#000000',
},
}SCSS
$custom: #3971c2; $custom-light: #8099d5; $custom-dark: #000000;
JSON
{
"hex": "#3971c2",
"rgb": {
"r": 57,
"g": 113,
"b": 194
},
"hsl": {
"h": 215.474,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.55177,
"c": 0.13957,
"h": 257.8
},
"luminance": 0.16575
}Semantic roles & 50–950 ramp
primary
#3971C2
secondary
#CBB18B
accent
#A14ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83