#3877C5#3877C5

#3877C5 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.137 H 255.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3877C5
RGBrgb(56, 119, 197)
HSLhsl(213, 56%, 50%)
HSVhsv(213, 72%, 77%)
CMYKcmyk(71.6%, 39.6%, 0%, 22.7%)
CIE-LABlab(49.57, 6.09, -46.55)
CIE-LCHlch(49.57, 46.94, 277.45°)
OKLaboklab(56.66% -0.035 -0.1327)
OKLCHoklch(56.66% 0.137 255.2)
XYZxyz(18.3020, 18.0636, 55.3346)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877C5 #C58638
analogous
#38BEC5 #3877C5 #3F38C5
triadic
#3877C5 #C53877 #77C538
tetradic
#3877C5 #C538BE #C58638 #38C53F
square
#3877C5 #C538BE #C58638 #38C53F
split-complementary
#3877C5 #C53F38 #BEC538
monochromatic
#1D3D66 #2A5A95 #3877C5 #6797D4 #96B8E1

Accessibility & contrast

On white

4.55
#3877C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3877C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877C5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877C5#FFFFFF#000000##000000
##3877C51.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC8
Deuteranopia (green-blind)
#3D70C3
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3877c5;
/* rgb */ color: rgb(56, 119, 197);
/* oklch */ color: oklch(56.7% 0.137 255.2);
Tailwind
colors: {
  custom: {
    50: '#809dd7',
    500: '#3877c5',
    950: '#000000',
  },
}
SCSS
$custom: #3877c5;
$custom-light: #809dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3877c5",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 197
  },
  "hsl": {
    "h": 213.191,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.13728,
    "h": 255.2
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#3877C5
secondary
#CDB08C
accent
#9C49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3877C5

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

Preview Lab → · Contrast checker → · Palette generator →

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