#3971C4#3971C4
#3971C4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.142 H 258.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3971C4 |
|---|---|
| RGB | rgb(57, 113, 196) |
| HSL | hsl(216, 55%, 50%) |
| HSV | hsv(216, 71%, 77%) |
| CMYK | cmyk(70.9%, 42.3%, 0%, 23.1%) |
| CIE-LAB | lab(47.83, 9.59, -48.74) |
| CIE-LCH | lch(47.83, 49.68, 281.13°) |
| OKLab | oklab(55.31% -0.029 -0.1393) |
| OKLCH | oklch(55.31% 0.142 258.2) |
| XYZ | xyz(17.5527, 16.6638, 54.5052) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.28
Windows Blue
#3778BF
ΔE00 3.12
French Blue
#436BAD
ΔE00 3.59
Flat Blue
#3C73A8
ΔE00 3.68
Mid Blue
#276AB3
ΔE00 3.85
Bluish
#2976BB
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3971C4 #C48C39
analogous
#39B7C4 #3971C4 #4639C4
triadic
#3971C4 #C43971 #71C439
tetradic
#3971C4 #C439B7 #C48C39 #39C446
square
#3971C4 #C439B7 #C48C39 #39C446
split-complementary
#3971C4 #C44639 #B7C439
monochromatic
#1D3A65 #2B5695 #3971C4 #6793D3 #97B5E1
Accessibility & contrast
On white
4.85
#3971C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#3971C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3971C4
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3971C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3971C4 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#326CC2
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3971c4; /* rgb */ color: rgb(57, 113, 196); /* oklch */ color: oklch(55.3% 0.142 258.2);
Tailwind
colors: {
custom: {
50: '#8099d6',
500: '#3971c4',
950: '#000000',
},
}SCSS
$custom: #3971c4; $custom-light: #8099d6; $custom-dark: #000000;
JSON
{
"hex": "#3971c4",
"rgb": {
"r": 57,
"g": 113,
"b": 196
},
"hsl": {
"h": 215.827,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.55305,
"c": 0.14225,
"h": 258.2
},
"luminance": 0.16666
}Semantic roles & 50–950 ramp
primary
#3971C4
secondary
#CCB38D
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83