#3870BB#3870BB

#3870BB is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.132 H 256.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3870BB
RGBrgb(56, 112, 187)
HSLhsl(214, 54%, 48%)
HSVhsv(214, 70%, 73%)
CMYKcmyk(70.1%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.99, 6.78, -44.89)
CIE-LCHlch(46.99, 45.40, 278.59°)
OKLaboklab(54.48% -0.0307 -0.128)
OKLCHoklch(54.48% 0.132 256.5)
XYZxyz(16.3914, 16.0152, 49.2315)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3870BB #BB8338
analogous
#38B1BB #3870BB #4238BB
triadic
#3870BB #BB3870 #70BB38
tetradic
#3870BB #BB38B1 #BB8338 #38BB42
square
#3870BB #BB38B1 #BB8338 #38BB42
split-complementary
#3870BB #BB4238 #B1BB38
monochromatic
#1C385D #2A548C #3870BB #6190D0 #90B1DE

Accessibility & contrast

On white

5.00
#3870BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3870BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3870BB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3870BB#FFFFFF#000000##FFFFFF
##3870BB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3870bb;
/* rgb */ color: rgb(56, 112, 187);
/* oklch */ color: oklch(54.5% 0.132 256.5);
Tailwind
colors: {
  custom: {
    50: '#7e98d0',
    500: '#3870bb',
    950: '#000000',
  },
}
SCSS
$custom: #3870bb;
$custom-light: #7e98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3870bb",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 214.351,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.13163,
    "h": 256.5
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#3870BB
secondary
#C8AC86
accent
#9F4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3870BB

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

Preview Lab → · Contrast checker → · Palette generator →

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