#3877AD#3877AD

#3877AD is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.106 H 247.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3877AD
RGBrgb(56, 119, 173)
HSLhsl(208, 51%, 45%)
HSVhsv(208, 68%, 68%)
CMYKcmyk(67.6%, 31.2%, 0%, 32.2%)
CIE-LABlab(48.32, -2.52, -34.67)
CIE-LCHlch(48.32, 34.76, 265.84°)
OKLaboklab(55.28% -0.0414 -0.098)
OKLCHoklch(55.28% 0.106 247.1)
XYZxyz(15.7677, 17.0499, 41.9870)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877AD #AD6E38
analogous
#38ADA8 #3877AD #383DAD
triadic
#3877AD #AD3877 #77AD38
tetradic
#3877AD #A838AD #AD6E38 #3DAD38
square
#3877AD #A838AD #AD6E38 #3DAD38
split-complementary
#3877AD #AD383D #ADA838
monochromatic
#1A3751 #29577F #3877AD #5995C9 #87B3D8

Accessibility & contrast

On white

4.76
#3877AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3877AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877AD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877AD#FFFFFF#000000##FFFFFF
##3877AD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F79AF
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3877ad;
/* rgb */ color: rgb(56, 119, 173);
/* oklch */ color: oklch(55.3% 0.106 247.1);
Tailwind
colors: {
  custom: {
    50: '#7b9ec5',
    500: '#3877ad',
    950: '#000000',
  },
}
SCSS
$custom: #3877ad;
$custom-light: #7b9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3877ad",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 173
  },
  "hsl": {
    "h": 207.692,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.10643,
    "h": 247.1
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#3877AD
secondary
#C29E7F
accent
#8E4DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3877AD

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

Preview Lab → · Contrast checker → · Palette generator →

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