#3872D0#3872D0

#3872D0 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.158 H 259.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3872D0
RGBrgb(56, 114, 208)
HSLhsl(217, 62%, 52%)
HSVhsv(217, 73%, 82%)
CMYKcmyk(73.1%, 45.2%, 0%, 18.4%)
CIE-LABlab(48.79, 13.22, -54.08)
CIE-LCHlch(48.79, 55.67, 283.74°)
OKLaboklab(56.27% -0.0283 -0.1549)
OKLCHoklch(56.27% 0.158 259.6)
XYZxyz(19.0292, 17.4274, 62.0232)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872D0 #D09638
analogous
#38BED0 #3872D0 #4A38D0
triadic
#3872D0 #D03872 #72D038
tetradic
#3872D0 #D038BE #D09638 #38D04A
square
#3872D0 #D038BE #D09638 #38D04A
split-complementary
#3872D0 #D04A38 #BED038
monochromatic
#1B3C73 #2757A4 #3872D0 #6A95DC #9BB8E7

Accessibility & contrast

On white

4.68
#3872D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3872D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3872D0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872D0#FFFFFF#000000##FFFFFF
##3872D01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD4
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3872d0;
/* rgb */ color: rgb(56, 114, 208);
/* oklch */ color: oklch(56.3% 0.158 259.6);
Tailwind
colors: {
  custom: {
    50: '#8299df',
    500: '#3872d0',
    950: '#000000',
  },
}
SCSS
$custom: #3872d0;
$custom-light: #8299df;
$custom-dark: #000000;
JSON
{
  "hex": "#3872d0",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 208
  },
  "hsl": {
    "h": 217.105,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.15752,
    "h": 259.6
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#3872D0
secondary
#D3BA91
accent
#A743E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3872D0

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

Preview Lab → · Contrast checker → · Palette generator →

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