#3872CF#3872CF

#3872CF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.156 H 259.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3872CF
RGBrgb(56, 114, 207)
HSLhsl(217, 61%, 52%)
HSVhsv(217, 73%, 81%)
CMYKcmyk(72.9%, 44.9%, 0%, 18.8%)
CIE-LABlab(48.73, 12.85, -53.60)
CIE-LCHlch(48.73, 55.12, 283.48°)
OKLaboklab(56.2% -0.0285 -0.1536)
OKLCHoklch(56.2% 0.156 259.5)
XYZxyz(18.9066, 17.3783, 61.3773)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872CF #CF9538
analogous
#38BDCF #3872CF #4A38CF
triadic
#3872CF #CF3872 #72CF38
tetradic
#3872CF #CF38BD #CF9538 #38CF4A
square
#3872CF #CF38BD #CF9538 #38CF4A
split-complementary
#3872CF #CF4A38 #BDCF38
monochromatic
#1B3C71 #2757A3 #3872CF #6995DB #9BB8E7

Accessibility & contrast

On white

4.69
#3872CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3872CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872CF#FFFFFF#000000##FFFFFF
##3872CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#236DCD
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3872cf;
/* rgb */ color: rgb(56, 114, 207);
/* oklch */ color: oklch(56.2% 0.156 259.5);
Tailwind
colors: {
  custom: {
    50: '#8299de',
    500: '#3872cf',
    950: '#000000',
  },
}
SCSS
$custom: #3872cf;
$custom-light: #8299de;
$custom-dark: #000000;
JSON
{
  "hex": "#3872cf",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 216.954,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.15618,
    "h": 259.5
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#3872CF
secondary
#D3B990
accent
#A744E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3872CF

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

Preview Lab → · Contrast checker → · Palette generator →

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