#3877A2#3877A2

#3877A2 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.7% C 0.093 H 241.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3877A2
RGBrgb(56, 119, 162)
HSLhsl(204, 49%, 43%)
HSVhsv(204, 65%, 64%)
CMYKcmyk(65.4%, 26.5%, 0%, 36.5%)
CIE-LABlab(47.81, -6.35, -29.06)
CIE-LCHlch(47.81, 29.75, 257.68°)
OKLaboklab(54.7% -0.045 -0.0818)
OKLCHoklch(54.7% 0.093 241.2)
XYZxyz(14.7468, 16.6415, 36.6104)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877A2 #A26338
analogous
#38A298 #3877A2 #3842A2
triadic
#3877A2 #A23877 #77A238
tetradic
#3877A2 #9838A2 #A26338 #42A238
square
#3877A2 #9838A2 #A26338 #42A238
split-complementary
#3877A2 #A23842 #A29838
monochromatic
#193447 #285675 #3877A2 #5396C4 #81B2D3

Accessibility & contrast

On white

4.85
#3877A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3877A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877A2#FFFFFF#000000##FFFFFF
##3877A21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3877a2;
/* rgb */ color: rgb(56, 119, 162);
/* oklch */ color: oklch(54.7% 0.093 241.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ebd',
    500: '#3877a2',
    950: '#000000',
  },
}
SCSS
$custom: #3877a2;
$custom-light: #7a9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3877a2",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 204.34,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.09332,
    "h": 241.2
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#3877A2
secondary
#BD9479
accent
#8750D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3877A2

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

Preview Lab → · Contrast checker → · Palette generator →

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