#3873C7#3873C7
#3873C7 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.144 H 257.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3873C7 |
|---|---|
| RGB | rgb(56, 115, 199) |
| HSL | hsl(215, 56%, 50%) |
| HSV | hsv(215, 72%, 78%) |
| CMYK | cmyk(71.9%, 42.2%, 0%, 22%) |
| CIE-LAB | lab(48.54, 9.29, -49.34) |
| CIE-LCH | lch(48.54, 50.21, 280.67°) |
| OKLab | oklab(55.9% -0.0309 -0.141) |
| OKLCH | oklch(55.9% 0.144 257.6) |
| XYZ | xyz(18.0667, 17.2238, 56.3941) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.50
Medium Blue
#2C6FBB
ΔE00 2.58
Bluish
#2976BB
ΔE00 3.61
Flat Blue
#3C73A8
ΔE00 3.75
Cerulean Blue
#056EEE
ΔE00 4.13
French Blue
#436BAD
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3873C7 #C78C38
analogous
#38BAC7 #3873C7 #4538C7
triadic
#3873C7 #C73873 #73C738
tetradic
#3873C7 #C738BA #C78C38 #38C745
square
#3873C7 #C738BA #C78C38 #38C745
split-complementary
#3873C7 #C74538 #BAC738
monochromatic
#1D3C67 #2B5797 #3873C7 #6895D4 #98B6E2
Accessibility & contrast
On white
4.72
#3873C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#3873C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3873C7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3873C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3873C7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ACA
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #3873c7; /* rgb */ color: rgb(56, 115, 199); /* oklch */ color: oklch(55.9% 0.144 257.6);
Tailwind
colors: {
custom: {
50: '#809ad8',
500: '#3873c7',
950: '#000000',
},
}SCSS
$custom: #3873c7; $custom-light: #809ad8; $custom-dark: #000000;
JSON
{
"hex": "#3873c7",
"rgb": {
"r": 56,
"g": 115,
"b": 199
},
"hsl": {
"h": 215.245,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.55899,
"c": 0.14435,
"h": 257.6
},
"luminance": 0.17226
}Semantic roles & 50–950 ramp
primary
#3873C7
secondary
#CDB38D
accent
#A148DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83