#3877B2#3877B2

#3877B2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.6% C 0.113 H 249.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3877B2
RGBrgb(56, 119, 178)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 69%, 70%)
CMYKcmyk(68.5%, 33.1%, 0%, 30.2%)
CIE-LABlab(48.57, -0.75, -37.19)
CIE-LCHlch(48.57, 37.19, 268.84°)
OKLaboklab(55.55% -0.0399 -0.1054)
OKLCHoklch(55.55% 0.113 249.2)
XYZxyz(16.2606, 17.2471, 44.5829)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877B2 #B27338
analogous
#38B2B0 #3877B2 #383AB2
triadic
#3877B2 #B23877 #77B238
tetradic
#3877B2 #B038B2 #B27338 #3AB238
square
#3877B2 #B038B2 #B27338 #3AB238
split-complementary
#3877B2 #B2383A #B2B038
monochromatic
#1B3955 #295883 #3877B2 #5C95CC #8AB4DA

Accessibility & contrast

On white

4.72
#3877B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3877B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877B2#FFFFFF#000000##FFFFFF
##3877B21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3877b2;
/* rgb */ color: rgb(56, 119, 178);
/* oklch */ color: oklch(55.6% 0.113 249.2);
Tailwind
colors: {
  custom: {
    50: '#7c9dc9',
    500: '#3877b2',
    950: '#000000',
  },
}
SCSS
$custom: #3877b2;
$custom-light: #7c9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3877b2",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 209.016,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.11268,
    "h": 249.2
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#3877B2
secondary
#C5A281
accent
#924CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3877B2

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

Preview Lab → · Contrast checker → · Palette generator →

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