#3871C0#3871C0

#3871C0 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.137 H 257.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3871C0
RGBrgb(56, 113, 192)
HSLhsl(215, 55%, 49%)
HSVhsv(215, 71%, 75%)
CMYKcmyk(70.8%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.57, 7.98, -46.87)
CIE-LCHlch(47.57, 47.55, 279.66°)
OKLaboklab(55.01% -0.0305 -0.1338)
OKLCHoklch(55.01% 0.137 257.1)
XYZxyz(17.0470, 16.4550, 52.1367)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3871C0 #C08738
analogous
#38B5C0 #3871C0 #4338C0
triadic
#3871C0 #C03871 #71C038
tetradic
#3871C0 #C038B5 #C08738 #38C043
square
#3871C0 #C038B5 #C08738 #38C043
split-complementary
#3871C0 #C04338 #B5C038
monochromatic
#1C3961 #2A5591 #3871C0 #6492D2 #93B3DF

Accessibility & contrast

On white

4.89
#3871C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3871C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3871C0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3871C0#FFFFFF#000000##FFFFFF
##3871C01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#366BBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3871c0;
/* rgb */ color: rgb(56, 113, 192);
/* oklch */ color: oklch(55.0% 0.137 257.1);
Tailwind
colors: {
  custom: {
    50: '#7f99d3',
    500: '#3871c0',
    950: '#000000',
  },
}
SCSS
$custom: #3871c0;
$custom-light: #7f99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3871c0",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 214.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.13723,
    "h": 257.1
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#3871C0
secondary
#CBAF89
accent
#A04ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3871C0

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

Preview Lab → · Contrast checker → · Palette generator →

#3871C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva