#3877B8#3877B8

#3877B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.120 H 251.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3877B8
RGBrgb(56, 119, 184)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 70%, 72%)
CMYKcmyk(69.6%, 35.3%, 0%, 27.8%)
CIE-LABlab(48.88, 1.39, -40.18)
CIE-LCHlch(48.88, 40.20, 271.98°)
OKLaboklab(55.89% -0.0383 -0.1141)
OKLCHoklch(55.89% 0.12 251.5)
XYZxyz(16.8762, 17.4933, 47.8252)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877B8 #B87938
analogous
#38B7B8 #3877B8 #3938B8
triadic
#3877B8 #B83877 #77B838
tetradic
#3877B8 #B838B7 #B87938 #38B839
square
#3877B8 #B838B7 #B87938 #38B839
split-complementary
#3877B8 #B83938 #B7B838
monochromatic
#1B3A5A #2A5989 #3877B8 #5F96CE #8EB5DD

Accessibility & contrast

On white

4.67
#3877B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3877B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3877B8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877B8#FFFFFF#000000##FFFFFF
##3877B81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBB
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3877b8;
/* rgb */ color: rgb(56, 119, 184);
/* oklch */ color: oklch(55.9% 0.120 251.5);
Tailwind
colors: {
  custom: {
    50: '#7d9dcd',
    500: '#3877b8',
    950: '#000000',
  },
}
SCSS
$custom: #3877b8;
$custom-light: #7d9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3877b8",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 184
  },
  "hsl": {
    "h": 210.469,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.12033,
    "h": 251.5
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#3877B8
secondary
#C7A685
accent
#954BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3877B8

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

Preview Lab → · Contrast checker → · Palette generator →

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