#3877BC#3877BC

#3877BC is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.126 H 252.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3877BC
RGBrgb(56, 119, 188)
HSLhsl(211, 54%, 48%)
HSVhsv(211, 70%, 74%)
CMYKcmyk(70.2%, 36.7%, 0%, 26.3%)
CIE-LABlab(49.09, 2.83, -42.15)
CIE-LCHlch(49.09, 42.25, 273.84°)
OKLaboklab(56.12% -0.0372 -0.1199)
OKLCHoklch(56.12% 0.126 252.7)
XYZxyz(17.3015, 17.6634, 50.0648)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877BC #BC7D38
analogous
#38B9BC #3877BC #3B38BC
triadic
#3877BC #BC3877 #77BC38
tetradic
#3877BC #BC38B9 #BC7D38 #38BC3B
square
#3877BC #BC38B9 #BC7D38 #38BC3B
split-complementary
#3877BC #BC3B38 #B9BC38
monochromatic
#1C3B5E #2A598D #3877BC #6196D0 #90B5DE

Accessibility & contrast

On white

4.63
#3877BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3877BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3877BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877BC#FFFFFF#000000##FFFFFF
##3877BC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3877bc;
/* rgb */ color: rgb(56, 119, 188);
/* oklch */ color: oklch(56.1% 0.126 252.7);
Tailwind
colors: {
  custom: {
    50: '#7e9dd0',
    500: '#3877bc',
    950: '#000000',
  },
}
SCSS
$custom: #3877bc;
$custom-light: #7e9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3877bc",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 211.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.12551,
    "h": 252.7
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#3877BC
secondary
#C9A987
accent
#974ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3877BC

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

Preview Lab → · Contrast checker → · Palette generator →

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