#3870B7#3870B7

#3870B7 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.126 H 255.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3870B7
RGBrgb(56, 112, 183)
HSLhsl(214, 53%, 47%)
HSVhsv(214, 69%, 72%)
CMYKcmyk(69.4%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.77, 5.33, -42.93)
CIE-LCHlch(46.77, 43.26, 277.08°)
OKLaboklab(54.23% -0.0316 -0.1222)
OKLCHoklch(54.23% 0.126 255.5)
XYZxyz(15.9692, 15.8463, 47.0076)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870B7 #B77F38
analogous
#38B0B7 #3870B7 #3F38B7
triadic
#3870B7 #B73870 #70B738
tetradic
#3870B7 #B738B0 #B77F38 #38B73F
square
#3870B7 #B738B0 #B77F38 #38B73F
split-complementary
#3870B7 #B73F38 #B0B738
monochromatic
#1B3759 #2A5388 #3870B7 #5E90CE #8DB0DC

Accessibility & contrast

On white

5.04
#3870B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3870B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870B7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870B7#FFFFFF#000000##FFFFFF
##3870B71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#3D69B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3870b7;
/* rgb */ color: rgb(56, 112, 183);
/* oklch */ color: oklch(54.2% 0.126 255.5);
Tailwind
colors: {
  custom: {
    50: '#7d98cd',
    500: '#3870b7',
    950: '#000000',
  },
}
SCSS
$custom: #3870b7;
$custom-light: #7d98cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3870b7",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 213.543,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.12626,
    "h": 255.5
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#3870B7
secondary
#C7A984
accent
#9C4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3870B7

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

Preview Lab → · Contrast checker → · Palette generator →

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