#3872DD#3872DD

#3872DD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.175 H 261.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3872DD
RGBrgb(56, 114, 221)
HSLhsl(219, 71%, 54%)
HSVhsv(219, 75%, 87%)
CMYKcmyk(74.7%, 48.4%, 0%, 13.3%)
CIE-LABlab(49.61, 18.00, -60.14)
CIE-LCHlch(49.61, 62.78, 286.66°)
OKLaboklab(57.16% -0.0263 -0.1728)
OKLCHoklch(57.16% 0.175 261.3)
XYZxyz(20.6946, 18.0935, 70.7943)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3872DD #DDA338
analogous
#38C5DD #3872DD #5138DD
triadic
#3872DD #DD3872 #72DD38
tetradic
#3872DD #DD38C5 #DDA338 #38DD51
square
#3872DD #DD38C5 #DDA338 #38DD51
split-complementary
#3872DD #DD5138 #C5DD38
monochromatic
#173D84 #1F55B8 #3872DD #6C97E6 #A1BCEF

Accessibility & contrast

On white

4.55
#3872DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3872DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3872DD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3872DD#FFFFFF#000000##000000
##3872DD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3872dd;
/* rgb */ color: rgb(56, 114, 221);
/* oklch */ color: oklch(57.2% 0.175 261.3);
Tailwind
colors: {
  custom: {
    50: '#8499e8',
    500: '#3872dd',
    950: '#000000',
  },
}
SCSS
$custom: #3872dd;
$custom-light: #8499e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3872dd",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 218.909,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.17479,
    "h": 261.3
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#3872DD
secondary
#DBC395
accent
#AF3AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3872DD

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

Preview Lab → · Contrast checker → · Palette generator →

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