#3872BC#3872BC

#3872BC is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.131 H 255.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3872BC
RGBrgb(56, 114, 188)
HSLhsl(214, 54%, 48%)
HSVhsv(214, 70%, 74%)
CMYKcmyk(70.2%, 39.4%, 0%, 26.3%)
CIE-LABlab(47.63, 5.90, -44.46)
CIE-LCHlch(47.63, 44.85, 277.56°)
OKLaboklab(54.99% -0.0324 -0.1267)
OKLCHoklch(54.99% 0.131 255.7)
XYZxyz(16.7220, 16.5044, 49.8716)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872BC #BC8238
analogous
#38B4BC #3872BC #4038BC
triadic
#3872BC #BC3872 #72BC38
tetradic
#3872BC #BC38B4 #BC8238 #38BC40
square
#3872BC #BC38B4 #BC8238 #38BC40
split-complementary
#3872BC #BC4038 #B4BC38
monochromatic
#1C395E #2A558D #3872BC #6192D0 #90B2DE

Accessibility & contrast

On white

4.88
#3872BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3872BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872BC#FFFFFF#000000##FFFFFF
##3872BC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#3C6BBB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3872bc;
/* rgb */ color: rgb(56, 114, 188);
/* oklch */ color: oklch(55.0% 0.131 255.7);
Tailwind
colors: {
  custom: {
    50: '#7e9ad0',
    500: '#3872bc',
    950: '#000000',
  },
}
SCSS
$custom: #3872bc;
$custom-light: #7e9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3872bc",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 213.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.13077,
    "h": 255.7
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#3872BC
secondary
#C9AC87
accent
#9D4ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3872BC

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

Preview Lab → · Contrast checker → · Palette generator →

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