#3870D0#3870D0

#3870D0 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.160 H 260.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3870D0
RGBrgb(56, 112, 208)
HSLhsl(218, 62%, 52%)
HSVhsv(218, 73%, 82%)
CMYKcmyk(73.1%, 46.2%, 0%, 18.4%)
CIE-LABlab(48.24, 14.48, -54.97)
CIE-LCHlch(48.24, 56.85, 284.75°)
OKLaboklab(55.84% -0.0266 -0.1576)
OKLCHoklch(55.84% 0.16 260.4)
XYZxyz(18.8061, 16.9811, 61.9488)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870D0 #D09838
analogous
#38BCD0 #3870D0 #4C38D0
triadic
#3870D0 #D03870 #70D038
tetradic
#3870D0 #D038BC #D09838 #38D04C
square
#3870D0 #D038BC #D09838 #38D04C
split-complementary
#3870D0 #D04C38 #BCD038
monochromatic
#1B3B73 #2755A4 #3870D0 #6A94DC #9BB7E7

Accessibility & contrast

On white

4.78
#3870D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3870D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870D0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870D0#FFFFFF#000000##FFFFFF
##3870D01.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD4
Deuteranopia (green-blind)
#1A6CCE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3870d0;
/* rgb */ color: rgb(56, 112, 208);
/* oklch */ color: oklch(55.8% 0.160 260.4);
Tailwind
colors: {
  custom: {
    50: '#8298df',
    500: '#3870d0',
    950: '#000000',
  },
}
SCSS
$custom: #3870d0;
$custom-light: #8298df;
$custom-dark: #000000;
JSON
{
  "hex": "#3870d0",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 208
  },
  "hsl": {
    "h": 217.895,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.15985,
    "h": 260.4
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#3870D0
secondary
#D3BB91
accent
#A943E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3870D0

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

Preview Lab → · Contrast checker → · Palette generator →

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