#3872BD#3872BD

#3872BD is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.132 H 255.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3872BD
RGBrgb(56, 114, 189)
HSLhsl(214, 54%, 48%)
HSVhsv(214, 70%, 74%)
CMYKcmyk(70.4%, 39.7%, 0%, 25.9%)
CIE-LABlab(47.69, 6.27, -44.95)
CIE-LCHlch(47.69, 45.39, 277.94°)
OKLaboklab(55.05% -0.0321 -0.1281)
OKLCHoklch(55.05% 0.132 255.9)
XYZxyz(16.8301, 16.5477, 50.4413)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872BD #BD8338
analogous
#38B4BD #3872BD #4138BD
triadic
#3872BD #BD3872 #72BD38
tetradic
#3872BD #BD38B4 #BD8338 #38BD41
square
#3872BD #BD38B4 #BD8338 #38BD41
split-complementary
#3872BD #BD4138 #B4BD38
monochromatic
#1C395F #2A568E #3872BD #6292D0 #91B3DE

Accessibility & contrast

On white

4.87
#3872BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3872BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872BD#FFFFFF#000000##FFFFFF
##3872BD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3872bd;
/* rgb */ color: rgb(56, 114, 189);
/* oklch */ color: oklch(55.0% 0.132 255.9);
Tailwind
colors: {
  custom: {
    50: '#7e9ad1',
    500: '#3872bd',
    950: '#000000',
  },
}
SCSS
$custom: #3872bd;
$custom-light: #7e9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3872bd",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 213.835,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5505,
    "c": 0.13211,
    "h": 255.9
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#3872BD
secondary
#C9AD87
accent
#9D4ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3872BD

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

Preview Lab → · Contrast checker → · Palette generator →

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