#3870DD#3870DD

#3870DD is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.177 H 262.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3870DD
RGBrgb(56, 112, 221)
HSLhsl(220, 71%, 54%)
HSVhsv(220, 75%, 87%)
CMYKcmyk(74.7%, 49.3%, 0%, 13.3%)
CIE-LABlab(49.07, 19.26, -61.02)
CIE-LCHlch(49.07, 63.99, 287.52°)
OKLaboklab(56.74% -0.0247 -0.1754)
OKLCHoklch(56.74% 0.177 262)
XYZxyz(20.4715, 17.6473, 70.7199)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870DD #DDA538
analogous
#38C3DD #3870DD #5338DD
triadic
#3870DD #DD3870 #70DD38
tetradic
#3870DD #DD38C3 #DDA538 #38DD53
square
#3870DD #DD38C3 #DDA538 #38DD53
split-complementary
#3870DD #DD5338 #C3DD38
monochromatic
#173C84 #1F53B8 #3870DD #6C96E6 #A1BBEF

Accessibility & contrast

On white

4.64
#3870DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3870DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3870DD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870DD#FFFFFF#000000##FFFFFF
##3870DD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7DE1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3870dd;
/* rgb */ color: rgb(56, 112, 221);
/* oklch */ color: oklch(56.7% 0.177 262.0);
Tailwind
colors: {
  custom: {
    50: '#8598e8',
    500: '#3870dd',
    950: '#000000',
  },
}
SCSS
$custom: #3870dd;
$custom-light: #8598e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3870dd",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 219.636,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.17715,
    "h": 262
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#3870DD
secondary
#DBC495
accent
#B13AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3870DD

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

Preview Lab → · Contrast checker → · Palette generator →

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