#3877B7#3877B7

#3877B7 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.119 H 251.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3877B7
RGBrgb(56, 119, 183)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 69%, 72%)
CMYKcmyk(69.4%, 35%, 0%, 28.2%)
CIE-LABlab(48.82, 1.03, -39.68)
CIE-LCHlch(48.82, 39.69, 271.49°)
OKLaboklab(55.83% -0.0385 -0.1126)
OKLCHoklch(55.83% 0.119 251.1)
XYZxyz(16.7718, 17.4515, 47.2751)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877B7 #B77838
analogous
#38B7B7 #3877B7 #3838B7
triadic
#3877B7 #B73877 #77B738
tetradic
#3877B7 #B738B7 #B77838 #38B738
square
#3877B7 #B738B7 #B77838 #38B738
split-complementary
#3877B7 #B73838 #B7B738
monochromatic
#1B3A59 #2A5988 #3877B7 #5E96CE #8DB4DC

Accessibility & contrast

On white

4.68
#3877B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3877B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877B7#FFFFFF#000000##FFFFFF
##3877B71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBA
Deuteranopia (green-blind)
#486FB6
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3877b7;
/* rgb */ color: rgb(56, 119, 183);
/* oklch */ color: oklch(55.8% 0.119 251.1);
Tailwind
colors: {
  custom: {
    50: '#7d9dcd',
    500: '#3877b7',
    950: '#000000',
  },
}
SCSS
$custom: #3877b7;
$custom-light: #7d9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3877b7",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 183
  },
  "hsl": {
    "h": 210.236,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.11904,
    "h": 251.1
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#3877B7
secondary
#C7A684
accent
#944BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3877B7

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

Preview Lab → · Contrast checker → · Palette generator →

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