#3870C3#3870C3
#3870C3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.142 H 258.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3870C3 |
|---|---|
| RGB | rgb(56, 112, 195) |
| HSL | hsl(216, 55%, 49%) |
| HSV | hsv(216, 71%, 76%) |
| CMYK | cmyk(71.3%, 42.6%, 0%, 23.5%) |
| CIE-LAB | lab(47.45, 9.70, -48.78) |
| CIE-LCH | lch(47.45, 49.73, 281.25°) |
| OKLab | oklab(54.98% -0.029 -0.1394) |
| OKLCH | oklch(54.98% 0.142 258.3) |
| XYZ | xyz(17.2718, 16.3674, 53.8681) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.10
French Blue
#436BAD
ΔE00 3.31
Windows Blue
#3778BF
ΔE00 3.38
Mid Blue
#276AB3
ΔE00 3.54
Flat Blue
#3C73A8
ΔE00 3.66
Bluish
#2976BB
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3870C3 #C38B38
analogous
#38B6C3 #3870C3 #4638C3
triadic
#3870C3 #C33870 #70C338
tetradic
#3870C3 #C338B6 #C38B38 #38C346
square
#3870C3 #C338B6 #C38B38 #38C346
split-complementary
#3870C3 #C34638 #B6C338
monochromatic
#1D3964 #2A5593 #3870C3 #6591D3 #95B3E1
Accessibility & contrast
On white
4.91
#3870C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#3870C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3870C3
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3870C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3870C3 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4877C6
Deuteranopia (green-blind)
#306BC1
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3870c3; /* rgb */ color: rgb(56, 112, 195); /* oklch */ color: oklch(55.0% 0.142 258.3);
Tailwind
colors: {
custom: {
50: '#7f98d6',
500: '#3870c3',
950: '#000000',
},
}SCSS
$custom: #3870c3; $custom-light: #7f98d6; $custom-dark: #000000;
JSON
{
"hex": "#3870c3",
"rgb": {
"r": 56,
"g": 112,
"b": 195
},
"hsl": {
"h": 215.827,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.54981,
"c": 0.14239,
"h": 258.3
},
"luminance": 0.16369
}Semantic roles & 50–950 ramp
primary
#3870C3
secondary
#CCB28B
accent
#A249DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83