#3872C8#3872C8

#3872C8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.147 H 258.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3872C8
RGBrgb(56, 114, 200)
HSLhsl(216, 57%, 50%)
HSVhsv(216, 72%, 78%)
CMYKcmyk(72%, 43%, 0%, 21.6%)
CIE-LABlab(48.31, 10.28, -50.27)
CIE-LCHlch(48.31, 51.31, 281.56°)
OKLaboklab(55.74% -0.0298 -0.1438)
OKLCHoklch(55.74% 0.147 258.3)
XYZxyz(18.0697, 17.0436, 56.9698)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872C8 #C88E38
analogous
#38BAC8 #3872C8 #4638C8
triadic
#3872C8 #C83872 #72C838
tetradic
#3872C8 #C838BA #C88E38 #38C846
square
#3872C8 #C838BA #C88E38 #38C846
split-complementary
#3872C8 #C84638 #BAC838
monochromatic
#1D3B69 #2A5799 #3872C8 #6894D5 #98B6E3

Accessibility & contrast

On white

4.76
#3872C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3872C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872C8#FFFFFF#000000##FFFFFF
##3872C81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#2E6DC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3872c8;
/* rgb */ color: rgb(56, 114, 200);
/* oklch */ color: oklch(55.7% 0.147 258.3);
Tailwind
colors: {
  custom: {
    50: '#809ad9',
    500: '#3872c8',
    950: '#000000',
  },
}
SCSS
$custom: #3872c8;
$custom-light: #809ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3872c8",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 215.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.14682,
    "h": 258.3
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#3872C8
secondary
#CEB48E
accent
#A348E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3872C8

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

Preview Lab → · Contrast checker → · Palette generator →

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