#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
RGBrgb(56, 114, 180)
HSLhsl(212, 53%, 46%)
HSVhsv(212, 69%, 71%)
CMYKcmyk(68.9%, 36.7%, 0%, 29.4%)
CIE-LABlab(47.20, 3.01, -40.52)
CIE-LCHlch(47.20, 40.63, 274.25°)
OKLaboklab(54.51% -0.0343 -0.1151)
OKLCHoklch(54.51% 0.12 253.4)
XYZxyz(15.8834, 16.1690, 45.4550)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##3872B41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.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

Preview Lab

Preview with #3872B4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3872B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva