#3872B4#3872B4
#3872B4 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.5% C 0.120 H 253.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3872B4 |
|---|---|
| RGB | rgb(56, 114, 180) |
| HSL | hsl(212, 53%, 46%) |
| HSV | hsv(212, 69%, 71%) |
| CMYK | cmyk(68.9%, 36.7%, 0%, 29.4%) |
| CIE-LAB | lab(47.20, 3.01, -40.52) |
| CIE-LCH | lch(47.20, 40.63, 274.25°) |
| OKLab | oklab(54.51% -0.0343 -0.1151) |
| OKLCH | oklch(54.51% 0.12 253.4) |
| XYZ | xyz(15.8834, 16.1690, 45.4550) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.33
Flat Blue
#3C73A8
ΔE00 1.66
Bluish
#2976BB
ΔE00 2.44
Windows Blue
#3778BF
ΔE00 2.48
Mid Blue
#276AB3
ΔE00 2.95
Muted Blue
#3B719F
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872B4 #B47A38
analogous
#38B0B4 #3872B4 #3C38B4
triadic
#3872B4 #B43872 #72B438
tetradic
#3872B4 #B438B0 #B47A38 #38B43C
square
#3872B4 #B438B0 #B47A38 #38B43C
split-complementary
#3872B4 #B43C38 #B0B438
monochromatic
#1B3757 #295485 #3872B4 #5D91CD #8BB1DB
Accessibility & contrast
On white
4.96
#3872B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#3872B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872B4
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872B4 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#426BB3
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3872b4; /* rgb */ color: rgb(56, 114, 180); /* oklch */ color: oklch(54.5% 0.120 253.4);
Tailwind
colors: {
custom: {
50: '#7d9acb',
500: '#3872b4',
950: '#000000',
},
}SCSS
$custom: #3872b4; $custom-light: #7d9acb; $custom-dark: #000000;
JSON
{
"hex": "#3872b4",
"rgb": {
"r": 56,
"g": 114,
"b": 180
},
"hsl": {
"h": 211.935,
"s": 52.542,
"l": 46.275
},
"oklch": {
"l": 0.54508,
"c": 0.12016,
"h": 253.4
},
"luminance": 0.16171
}Semantic roles & 50–950 ramp
primary
#3872B4
secondary
#C5A682
accent
#994CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82