#3877BF#3877BF

#3877BF is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.3% C 0.129 H 253.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3877BF
RGBrgb(56, 119, 191)
HSLhsl(212, 55%, 48%)
HSVhsv(212, 71%, 75%)
CMYKcmyk(70.7%, 37.7%, 0%, 25.1%)
CIE-LABlab(49.25, 3.91, -43.62)
CIE-LCHlch(49.25, 43.80, 275.12°)
OKLaboklab(56.3% -0.0365 -0.1242)
OKLCHoklch(56.3% 0.129 253.6)
XYZxyz(17.6282, 17.7941, 51.7857)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877BF #BF8038
analogous
#38BABF #3877BF #3C38BF
triadic
#3877BF #BF3877 #77BF38
tetradic
#3877BF #BF38BA #BF8038 #38BF3C
square
#3877BF #BF38BA #BF8038 #38BF3C
split-complementary
#3877BF #BF3C38 #BABF38
monochromatic
#1C3C60 #2A5A90 #3877BF #6396D1 #92B6DF

Accessibility & contrast

On white

4.61
#3877BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3877BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3877BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877BF#FFFFFF#000000##FFFFFF
##3877BF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#426FBE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3877bf;
/* rgb */ color: rgb(56, 119, 191);
/* oklch */ color: oklch(56.3% 0.129 253.6);
Tailwind
colors: {
  custom: {
    50: '#7f9dd3',
    500: '#3877bf',
    950: '#000000',
  },
}
SCSS
$custom: #3877bf;
$custom-light: #7f9dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3877bf",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 212,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.12942,
    "h": 253.6
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#3877BF
secondary
#CAAC89
accent
#994ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3877BF

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

Preview Lab → · Contrast checker → · Palette generator →

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