#3870BC#3870BC

#3870BC is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.133 H 256.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3870BC
RGBrgb(56, 112, 188)
HSLhsl(215, 54%, 48%)
HSVhsv(215, 70%, 74%)
CMYKcmyk(70.2%, 40.4%, 0%, 26.3%)
CIE-LABlab(47.05, 7.15, -45.38)
CIE-LCHlch(47.05, 45.94, 278.95°)
OKLaboklab(54.54% -0.0305 -0.1294)
OKLCHoklch(54.54% 0.133 256.8)
XYZxyz(16.4989, 16.0582, 49.7972)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870BC #BC8438
analogous
#38B2BC #3870BC #4238BC
triadic
#3870BC #BC3870 #70BC38
tetradic
#3870BC #BC38B2 #BC8438 #38BC42
square
#3870BC #BC38B2 #BC8438 #38BC42
split-complementary
#3870BC #BC4238 #B2BC38
monochromatic
#1C385E #2A548D #3870BC #6190D0 #90B1DE

Accessibility & contrast

On white

4.99
#3870BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3870BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870BC#FFFFFF#000000##FFFFFF
##3870BC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3870bc;
/* rgb */ color: rgb(56, 112, 188);
/* oklch */ color: oklch(54.5% 0.133 256.8);
Tailwind
colors: {
  custom: {
    50: '#7e98d0',
    500: '#3870bc',
    950: '#000000',
  },
}
SCSS
$custom: #3870bc;
$custom-light: #7e98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3870bc",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 214.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.13298,
    "h": 256.8
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#3870BC
secondary
#C9AD87
accent
#9F4ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3870BC

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

Preview Lab → · Contrast checker → · Palette generator →

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