#3977F2#3977F2
#3977F2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.196 H 262.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3977F2 |
|---|---|
| RGB | rgb(57, 119, 242) |
| HSL | hsl(220, 88%, 59%) |
| HSV | hsv(220, 76%, 95%) |
| CMYK | cmyk(76.4%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(52.37, 22.68, -67.47) |
| CIE-LCH | lch(52.37, 71.18, 288.58°) |
| OKLab | oklab(59.71% -0.0268 -0.1943) |
| OKLCH | oklch(59.71% 0.196 262.1) |
| XYZ | xyz(24.3054, 20.4715, 86.6576) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.78
Clear Blue
#247AFD
ΔE00 1.89
Deep Sky Blue
#0D75F8
ΔE00 1.98
Cerulean Blue
#056EEE
ΔE00 3.80
Dodger Blue
#3E82FC
ΔE00 3.88
Azure
#007FFF
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3977F2 #F2B439
analogous
#39D3F2 #3977F2 #5739F2
triadic
#3977F2 #F23977 #77F239
tetradic
#3977F2 #F239D3 #F2B439 #39F257
square
#3977F2 #F239D3 #F2B439 #39F257
split-complementary
#3977F2 #F25739 #D3F239
monochromatic
#0B3FA6 #0F55DF #3977F2 #729EF6 #ACC6FA
Accessibility & contrast
On white
4.12
#3977F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#3977F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3977F2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3977F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3977F2 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2586F6
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #3977f2; /* rgb */ color: rgb(57, 119, 242); /* oklch */ color: oklch(59.7% 0.196 262.1);
Tailwind
colors: {
custom: {
50: '#899df7',
500: '#3977f2',
950: '#000000',
},
}SCSS
$custom: #3977f2; $custom-light: #899df7; $custom-dark: #000000;
JSON
{
"hex": "#3977f2",
"rgb": {
"r": 57,
"g": 119,
"b": 242
},
"hsl": {
"h": 219.892,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.59711,
"c": 0.1961,
"h": 262.1
},
"luminance": 0.20474
}Semantic roles & 50–950 ramp
primary
#3977F2
secondary
#E8CF9F
accent
#B72AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85