#3877C2#3877C2

#3877C2 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.5% C 0.133 H 254.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3877C2
RGBrgb(56, 119, 194)
HSLhsl(213, 55%, 49%)
HSVhsv(213, 71%, 76%)
CMYKcmyk(71.1%, 38.7%, 0%, 23.9%)
CIE-LABlab(49.41, 5.00, -45.09)
CIE-LCHlch(49.41, 45.36, 276.32°)
OKLaboklab(56.48% -0.0357 -0.1285)
OKLCHoklch(56.48% 0.133 254.5)
XYZxyz(17.9617, 17.9275, 53.5422)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877C2 #C28338
analogous
#38BCC2 #3877C2 #3E38C2
triadic
#3877C2 #C23877 #77C238
tetradic
#3877C2 #C238BC #C28338 #38C23E
square
#3877C2 #C238BC #C28338 #38C23E
split-complementary
#3877C2 #C23E38 #BCC238
monochromatic
#1D3D63 #2A5A93 #3877C2 #6597D2 #94B7E0

Accessibility & contrast

On white

4.58
#3877C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3877C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3877C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877C2#FFFFFF#000000##000000
##3877C21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#3F70C0
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3877c2;
/* rgb */ color: rgb(56, 119, 194);
/* oklch */ color: oklch(56.5% 0.133 254.5);
Tailwind
colors: {
  custom: {
    50: '#7f9dd5',
    500: '#3877c2',
    950: '#000000',
  },
}
SCSS
$custom: #3877c2;
$custom-light: #7f9dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3877c2",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 194
  },
  "hsl": {
    "h": 212.609,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.13334,
    "h": 254.5
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#3877C2
secondary
#CBAE8A
accent
#9A49DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3877C2

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

Preview Lab → · Contrast checker → · Palette generator →

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