#3877BA#3877BA

#3877BA is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.123 H 252.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3877BA
RGBrgb(56, 119, 186)
HSLhsl(211, 54%, 47%)
HSVhsv(211, 70%, 73%)
CMYKcmyk(69.9%, 36%, 0%, 27.1%)
CIE-LABlab(48.98, 2.11, -41.16)
CIE-LCHlch(48.98, 41.22, 272.93°)
OKLaboklab(56.01% -0.0377 -0.117)
OKLCHoklch(56.01% 0.123 252.1)
XYZxyz(17.0874, 17.5778, 48.9372)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877BA #BA7B38
analogous
#38B8BA #3877BA #3A38BA
triadic
#3877BA #BA3877 #77BA38
tetradic
#3877BA #BA38B8 #BA7B38 #38BA3A
square
#3877BA #BA38B8 #BA7B38 #38BA3A
split-complementary
#3877BA #BA3A38 #B8BA38
monochromatic
#1C3B5C #2A598B #3877BA #6096CF #8FB5DD

Accessibility & contrast

On white

4.65
#3877BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3877BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877BA#FFFFFF#000000##FFFFFF
##3877BA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3877ba;
/* rgb */ color: rgb(56, 119, 186);
/* oklch */ color: oklch(56.0% 0.123 252.1);
Tailwind
colors: {
  custom: {
    50: '#7e9dcf',
    500: '#3877ba',
    950: '#000000',
  },
}
SCSS
$custom: #3877ba;
$custom-light: #7e9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3877ba",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 210.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.12291,
    "h": 252.1
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#3877BA
secondary
#C8A886
accent
#964BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3877BA

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

Preview Lab → · Contrast checker → · Palette generator →

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