#3872CB#3872CB

#3872CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.151 H 258.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3872CB
RGBrgb(56, 114, 203)
HSLhsl(216, 59%, 51%)
HSVhsv(216, 72%, 80%)
CMYKcmyk(72.4%, 43.8%, 0%, 20.4%)
CIE-LABlab(48.49, 11.38, -51.71)
CIE-LCHlch(48.49, 52.94, 282.42°)
OKLaboklab(55.94% -0.0292 -0.148)
OKLCHoklch(55.94% 0.151 258.8)
XYZxyz(18.4238, 17.1852, 58.8344)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872CB #CB9138
analogous
#38BBCB #3872CB #4738CB
triadic
#3872CB #CB3872 #72CB38
tetradic
#3872CB #CB38BB #CB9138 #38CB47
square
#3872CB #CB38BB #CB9138 #38CB47
split-complementary
#3872CB #CB4738 #BBCB38
monochromatic
#1C3C6C #29579D #3872CB #6994D8 #99B7E4

Accessibility & contrast

On white

4.73
#3872CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3872CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872CB#FFFFFF#000000##FFFFFF
##3872CB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3872cb;
/* rgb */ color: rgb(56, 114, 203);
/* oklch */ color: oklch(55.9% 0.151 258.8);
Tailwind
colors: {
  custom: {
    50: '#819adb',
    500: '#3872cb',
    950: '#000000',
  },
}
SCSS
$custom: #3872cb;
$custom-light: #819adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3872cb",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 216.327,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.15083,
    "h": 258.8
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#3872CB
secondary
#D0B68F
accent
#A446E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3872CB

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

Preview Lab → · Contrast checker → · Palette generator →

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