#3877BD#3877BD

#3877BD is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.2% C 0.127 H 253.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3877BD
RGBrgb(56, 119, 189)
HSLhsl(212, 54%, 48%)
HSVhsv(212, 70%, 74%)
CMYKcmyk(70.4%, 37%, 0%, 25.9%)
CIE-LABlab(49.14, 3.19, -42.64)
CIE-LCHlch(49.14, 42.76, 274.28°)
OKLaboklab(56.18% -0.037 -0.1213)
OKLCHoklch(56.18% 0.127 253)
XYZxyz(17.4096, 17.7067, 50.6345)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877BD #BD7E38
analogous
#38B9BD #3877BD #3B38BD
triadic
#3877BD #BD3877 #77BD38
tetradic
#3877BD #BD38B9 #BD7E38 #38BD3B
square
#3877BD #BD38B9 #BD7E38 #38BD3B
split-complementary
#3877BD #BD3B38 #B9BD38
monochromatic
#1C3C5F #2A598E #3877BD #6296D0 #91B6DE

Accessibility & contrast

On white

4.62
#3877BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3877BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3877BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877BD#FFFFFF#000000##FFFFFF
##3877BD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577CC0
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3877bd;
/* rgb */ color: rgb(56, 119, 189);
/* oklch */ color: oklch(56.2% 0.127 253.0);
Tailwind
colors: {
  custom: {
    50: '#7e9dd1',
    500: '#3877bd',
    950: '#000000',
  },
}
SCSS
$custom: #3877bd;
$custom-light: #7e9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3877bd",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 211.579,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.12681,
    "h": 253
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#3877BD
secondary
#C9AA87
accent
#984ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3877BD

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

Preview Lab → · Contrast checker → · Palette generator →

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