#3877BB#3877BB

#3877BB is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.1% C 0.124 H 252.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3877BB
RGBrgb(56, 119, 187)
HSLhsl(211, 54%, 48%)
HSVhsv(211, 70%, 73%)
CMYKcmyk(70.1%, 36.4%, 0%, 26.7%)
CIE-LABlab(49.03, 2.47, -41.66)
CIE-LCHlch(49.03, 41.73, 273.39°)
OKLaboklab(56.07% -0.0375 -0.1184)
OKLCHoklch(56.07% 0.124 252.4)
XYZxyz(17.1940, 17.6204, 49.4990)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877BB #BB7C38
analogous
#38B8BB #3877BB #3B38BB
triadic
#3877BB #BB3877 #77BB38
tetradic
#3877BB #BB38B8 #BB7C38 #38BB3B
square
#3877BB #BB38B8 #BB7C38 #38BB3B
split-complementary
#3877BB #BB3B38 #B8BB38
monochromatic
#1C3B5D #2A598C #3877BB #6196D0 #90B5DE

Accessibility & contrast

On white

4.64
#3877BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3877BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3877BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877BB#FFFFFF#000000##FFFFFF
##3877BB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3877bb;
/* rgb */ color: rgb(56, 119, 187);
/* oklch */ color: oklch(56.1% 0.124 252.4);
Tailwind
colors: {
  custom: {
    50: '#7e9dd0',
    500: '#3877bb',
    950: '#000000',
  },
}
SCSS
$custom: #3877bb;
$custom-light: #7e9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3877bb",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 211.145,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.12421,
    "h": 252.4
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#3877BB
secondary
#C8A986
accent
#974BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3877BB

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

Preview Lab → · Contrast checker → · Palette generator →

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