#3870C2#3870C2
#3870C2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.141 H 258.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3870C2 |
|---|---|
| RGB | rgb(56, 112, 194) |
| HSL | hsl(216, 55%, 49%) |
| HSV | hsv(216, 71%, 76%) |
| CMYK | cmyk(71.1%, 42.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.39, 9.34, -48.30) |
| CIE-LCH | lch(47.39, 49.19, 280.94°) |
| OKLab | oklab(54.92% -0.0292 -0.138) |
| OKLCH | oklch(54.92% 0.141 258.1) |
| XYZ | xyz(17.1591, 16.3223, 53.2747) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.00
French Blue
#436BAD
ΔE00 3.25
Windows Blue
#3778BF
ΔE00 3.34
Mid Blue
#276AB3
ΔE00 3.45
Flat Blue
#3C73A8
ΔE00 3.56
Bluish
#2976BB
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3870C2 #C28A38
analogous
#38B5C2 #3870C2 #4538C2
triadic
#3870C2 #C23870 #70C238
tetradic
#3870C2 #C238B5 #C28A38 #38C245
square
#3870C2 #C238B5 #C28A38 #38C245
split-complementary
#3870C2 #C24538 #B5C238
monochromatic
#1D3963 #2A5593 #3870C2 #6591D2 #94B3E0
Accessibility & contrast
On white
4.92
#3870C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#3870C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3870C2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3870C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3870C2 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#316BC0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3870c2; /* rgb */ color: rgb(56, 112, 194); /* oklch */ color: oklch(54.9% 0.141 258.1);
Tailwind
colors: {
custom: {
50: '#7f98d5',
500: '#3870c2',
950: '#000000',
},
}SCSS
$custom: #3870c2; $custom-light: #7f98d5; $custom-dark: #000000;
JSON
{
"hex": "#3870c2",
"rgb": {
"r": 56,
"g": 112,
"b": 194
},
"hsl": {
"h": 215.652,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.54916,
"c": 0.14104,
"h": 258.1
},
"luminance": 0.16324
}Semantic roles & 50–950 ramp
primary
#3870C2
secondary
#CBB18A
accent
#A249DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83