#3877AF#3877AF

#3877AF is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.4% C 0.109 H 248.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3877AF
RGBrgb(56, 119, 175)
HSLhsl(208, 52%, 45%)
HSVhsv(208, 68%, 69%)
CMYKcmyk(68%, 32%, 0%, 31.4%)
CIE-LABlab(48.42, -1.81, -35.68)
CIE-LCHlch(48.42, 35.73, 267.09°)
OKLaboklab(55.39% -0.0408 -0.101)
OKLCHoklch(55.39% 0.109 248)
XYZxyz(15.9627, 17.1279, 43.0139)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3877AF #AF7038
analogous
#38AFAB #3877AF #383CAF
triadic
#3877AF #AF3877 #77AF38
tetradic
#3877AF #AB38AF #AF7038 #3CAF38
square
#3877AF #AB38AF #AF7038 #3CAF38
split-complementary
#3877AF #AF383C #AFAB38
monochromatic
#1A3852 #295781 #3877AF #5A95CA #88B3D9

Accessibility & contrast

On white

4.74
#3877AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3877AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3877AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3877AF#FFFFFF#000000##FFFFFF
##3877AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3877af;
/* rgb */ color: rgb(56, 119, 175);
/* oklch */ color: oklch(55.4% 0.109 248.0);
Tailwind
colors: {
  custom: {
    50: '#7c9ec7',
    500: '#3877af',
    950: '#000000',
  },
}
SCSS
$custom: #3877af;
$custom-light: #7c9ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3877af",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 208.235,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.10891,
    "h": 248
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#3877AF
secondary
#C39F80
accent
#904DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3877AF

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

Preview Lab → · Contrast checker → · Palette generator →

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