#3877C6#3877C6

#3877C6 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.139 H 255.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3877C6
RGBrgb(56, 119, 198)
HSLhsl(213, 56%, 50%)
HSVhsv(213, 72%, 78%)
CMYKcmyk(71.7%, 39.9%, 0%, 22.4%)
CIE-LABlab(49.63, 6.45, -47.03)
CIE-LCHlch(49.63, 47.47, 277.81°)
OKLaboklab(56.73% -0.0348 -0.1342)
OKLCHoklch(56.73% 0.139 255.5)
XYZxyz(18.4170, 18.1096, 55.9400)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877C6 #C68738
analogous
#38BEC6 #3877C6 #4038C6
triadic
#3877C6 #C63877 #77C638
tetradic
#3877C6 #C638BE #C68738 #38C640
square
#3877C6 #C638BE #C68738 #38C640
split-complementary
#3877C6 #C64038 #BEC638
monochromatic
#1D3E67 #2B5A96 #3877C6 #6797D4 #97B8E2

Accessibility & contrast

On white

4.54
#3877C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3877C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877C6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877C6#FFFFFF#000000##000000
##3877C61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC9
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3877c6;
/* rgb */ color: rgb(56, 119, 198);
/* oklch */ color: oklch(56.7% 0.139 255.5);
Tailwind
colors: {
  custom: {
    50: '#809dd8',
    500: '#3877c6',
    950: '#000000',
  },
}
SCSS
$custom: #3877c6;
$custom-light: #809dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3877c6",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 198
  },
  "hsl": {
    "h": 213.38,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.1386,
    "h": 255.5
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#3877C6
secondary
#CDB18D
accent
#9C49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3877C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3877C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva