#3870BE#3870BE

#3870BE is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.7% C 0.136 H 257.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3870BE
RGBrgb(56, 112, 190)
HSLhsl(215, 54%, 48%)
HSVhsv(215, 71%, 75%)
CMYKcmyk(70.5%, 41.1%, 0%, 25.5%)
CIE-LABlab(47.16, 7.88, -46.36)
CIE-LCHlch(47.16, 47.02, 279.64°)
OKLaboklab(54.66% -0.03 -0.1323)
OKLCHoklch(54.66% 0.136 257.2)
XYZxyz(16.7159, 16.1450, 50.9406)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870BE #BE8638
analogous
#38B3BE #3870BE #4338BE
triadic
#3870BE #BE3870 #70BE38
tetradic
#3870BE #BE38B3 #BE8638 #38BE43
square
#3870BE #BE38B3 #BE8638 #38BE43
split-complementary
#3870BE #BE4338 #B3BE38
monochromatic
#1C385F #2A548F #3870BE #6291D1 #92B2DF

Accessibility & contrast

On white

4.97
#3870BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3870BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870BE#FFFFFF#000000##FFFFFF
##3870BE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C1
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3870be;
/* rgb */ color: rgb(56, 112, 190);
/* oklch */ color: oklch(54.7% 0.136 257.2);
Tailwind
colors: {
  custom: {
    50: '#7e98d2',
    500: '#3870be',
    950: '#000000',
  },
}
SCSS
$custom: #3870be;
$custom-light: #7e98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3870be",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 214.925,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.13566,
    "h": 257.2
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#3870BE
secondary
#CAAE88
accent
#A04ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3870BE

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

Preview Lab → · Contrast checker → · Palette generator →

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