#3877AB#3877AB

#3877AB is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.104 H 246.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3877AB
RGBrgb(56, 119, 171)
HSLhsl(207, 51%, 45%)
HSVhsv(207, 67%, 67%)
CMYKcmyk(67.3%, 30.4%, 0%, 32.9%)
CIE-LABlab(48.23, -3.22, -33.66)
CIE-LCHlch(48.23, 33.81, 264.53°)
OKLaboklab(55.17% -0.042 -0.0951)
OKLCHoklch(55.17% 0.104 246.1)
XYZxyz(15.5756, 16.9731, 40.9755)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877AB #AB6C38
analogous
#38ABA6 #3877AB #383EAB
triadic
#3877AB #AB3877 #77AB38
tetradic
#3877AB #A638AB #AB6C38 #3EAB38
square
#3877AB #A638AB #AB6C38 #3EAB38
split-complementary
#3877AB #AB383E #ABA638
monochromatic
#1A374F #29577D #3877AB #5895C8 #86B3D7

Accessibility & contrast

On white

4.78
#3877AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3877AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877AB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877AB#FFFFFF#000000##FFFFFF
##3877AB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AD
Deuteranopia (green-blind)
#506EAA
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3877ab;
/* rgb */ color: rgb(56, 119, 171);
/* oklch */ color: oklch(55.2% 0.104 246.1);
Tailwind
colors: {
  custom: {
    50: '#7b9ec4',
    500: '#3877ab',
    950: '#000000',
  },
}
SCSS
$custom: #3877ab;
$custom-light: #7b9ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3877ab",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 207.13,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.10397,
    "h": 246.1
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#3877AB
secondary
#C19C7D
accent
#8D4EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3877AB

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

Preview Lab → · Contrast checker → · Palette generator →

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