#3872C6#3872C6

#3872C6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.144 H 257.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3872C6
RGBrgb(56, 114, 198)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(71.7%, 42.4%, 0%, 22.4%)
CIE-LABlab(48.20, 9.55, -49.31)
CIE-LCHlch(48.20, 50.23, 280.96°)
OKLaboklab(55.61% -0.0302 -0.1409)
OKLCHoklch(55.61% 0.144 257.9)
XYZxyz(17.8375, 16.9507, 55.7469)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872C6 #C68C38
analogous
#38B9C6 #3872C6 #4538C6
triadic
#3872C6 #C63872 #72C638
tetradic
#3872C6 #C638B9 #C68C38 #38C645
square
#3872C6 #C638B9 #C68C38 #38C645
split-complementary
#3872C6 #C64538 #B9C638
monochromatic
#1D3B67 #2B5796 #3872C6 #6794D4 #97B5E2

Accessibility & contrast

On white

4.78
#3872C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3872C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872C6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872C6#FFFFFF#000000##FFFFFF
##3872C61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3872c6;
/* rgb */ color: rgb(56, 114, 198);
/* oklch */ color: oklch(55.6% 0.144 257.9);
Tailwind
colors: {
  custom: {
    50: '#809ad8',
    500: '#3872c6',
    950: '#000000',
  },
}
SCSS
$custom: #3872c6;
$custom-light: #809ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3872c6",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 198
  },
  "hsl": {
    "h": 215.493,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.14414,
    "h": 257.9
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#3872C6
secondary
#CDB38D
accent
#A249DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3872C6

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

Preview Lab → · Contrast checker → · Palette generator →

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