#3870BD#3870BD

#3870BD is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.134 H 257.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3870BD
RGBrgb(56, 112, 189)
HSLhsl(215, 54%, 48%)
HSVhsv(215, 70%, 74%)
CMYKcmyk(70.4%, 40.7%, 0%, 25.9%)
CIE-LABlab(47.11, 7.51, -45.87)
CIE-LCHlch(47.11, 46.48, 279.30°)
OKLaboklab(54.6% -0.0302 -0.1309)
OKLCHoklch(54.6% 0.134 257)
XYZxyz(16.6070, 16.1015, 50.3669)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870BD #BD8538
analogous
#38B2BD #3870BD #4238BD
triadic
#3870BD #BD3870 #70BD38
tetradic
#3870BD #BD38B2 #BD8538 #38BD42
square
#3870BD #BD38B2 #BD8538 #38BD42
split-complementary
#3870BD #BD4238 #B2BD38
monochromatic
#1C385F #2A548E #3870BD #6290D0 #91B2DE

Accessibility & contrast

On white

4.98
#3870BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3870BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870BD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870BD#FFFFFF#000000##FFFFFF
##3870BD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3870bd;
/* rgb */ color: rgb(56, 112, 189);
/* oklch */ color: oklch(54.6% 0.134 257.0);
Tailwind
colors: {
  custom: {
    50: '#7e98d1',
    500: '#3870bd',
    950: '#000000',
  },
}
SCSS
$custom: #3870bd;
$custom-light: #7e98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3870bd",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 214.737,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.13432,
    "h": 257
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3870BD

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

Preview Lab → · Contrast checker → · Palette generator →

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