#3870CE#3870CE

#3870CE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.157 H 260.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3870CE
RGBrgb(56, 112, 206)
HSLhsl(218, 60%, 51%)
HSVhsv(218, 73%, 81%)
CMYKcmyk(72.8%, 45.6%, 0%, 19.2%)
CIE-LABlab(48.11, 13.74, -54.03)
CIE-LCHlch(48.11, 55.75, 284.27°)
OKLaboklab(55.7% -0.0269 -0.1548)
OKLCHoklch(55.7% 0.157 260.1)
XYZxyz(18.5616, 16.8833, 60.6611)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870CE #CE9638
analogous
#38BBCE #3870CE #4B38CE
triadic
#3870CE #CE3870 #70CE38
tetradic
#3870CE #CE38BB #CE9638 #38CE4B
square
#3870CE #CE38BB #CE9638 #38CE4B
split-complementary
#3870CE #CE4B38 #BBCE38
monochromatic
#1C3B70 #2855A1 #3870CE #6993DA #9AB7E6

Accessibility & contrast

On white

4.80
#3870CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3870CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870CE#FFFFFF#000000##FFFFFF
##3870CE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD2
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3870ce;
/* rgb */ color: rgb(56, 112, 206);
/* oklch */ color: oklch(55.7% 0.157 260.1);
Tailwind
colors: {
  custom: {
    50: '#8198dd',
    500: '#3870ce',
    950: '#000000',
  },
}
SCSS
$custom: #3870ce;
$custom-light: #8198dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3870ce",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 217.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.15717,
    "h": 260.1
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#3870CE
secondary
#D2B990
accent
#A844E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3870CE

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

Preview Lab → · Contrast checker → · Palette generator →

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