#3877B1#3877B1

#3877B1 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.5% C 0.111 H 248.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3877B1
RGBrgb(56, 119, 177)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 68%, 69%)
CMYKcmyk(68.4%, 32.8%, 0%, 30.6%)
CIE-LABlab(48.52, -1.10, -36.69)
CIE-LCHlch(48.52, 36.70, 268.27°)
OKLaboklab(55.5% -0.0402 -0.1039)
OKLCHoklch(55.5% 0.111 248.8)
XYZxyz(16.1606, 17.2070, 44.0561)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877B1 #B17238
analogous
#38B1AE #3877B1 #383BB1
triadic
#3877B1 #B13877 #77B138
tetradic
#3877B1 #AE38B1 #B17238 #3BB138
square
#3877B1 #AE38B1 #B17238 #3BB138
split-complementary
#3877B1 #B1383B #B1AE38
monochromatic
#1B3854 #295883 #3877B1 #5B95CB #8AB3DA

Accessibility & contrast

On white

4.73
#3877B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3877B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877B1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877B1#FFFFFF#000000##FFFFFF
##3877B11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3877b1;
/* rgb */ color: rgb(56, 119, 177);
/* oklch */ color: oklch(55.5% 0.111 248.8);
Tailwind
colors: {
  custom: {
    50: '#7c9dc8',
    500: '#3877b1',
    950: '#000000',
  },
}
SCSS
$custom: #3877b1;
$custom-light: #7c9dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3877b1",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 177
  },
  "hsl": {
    "h": 208.76,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.11141,
    "h": 248.8
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#3877B1
secondary
#C4A181
accent
#914CDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3877B1

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

Preview Lab → · Contrast checker → · Palette generator →

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