#3878AB#3878AB

#3878AB is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.103 H 245.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3878AB
RGBrgb(56, 120, 171)
HSLhsl(207, 51%, 45%)
HSVhsv(207, 67%, 67%)
CMYKcmyk(67.3%, 29.8%, 0%, 32.9%)
CIE-LABlab(48.53, -3.82, -33.19)
CIE-LCHlch(48.53, 33.41, 263.44°)
OKLaboklab(55.41% -0.0431 -0.0937)
OKLCHoklch(55.41% 0.103 245.3)
XYZxyz(15.6953, 17.2123, 41.0153)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878AB #AB6B38
analogous
#38ABA5 #3878AB #383EAB
triadic
#3878AB #AB3878 #78AB38
tetradic
#3878AB #A538AB #AB6B38 #3EAB38
square
#3878AB #A538AB #AB6B38 #3EAB38
split-complementary
#3878AB #AB383E #ABA538
monochromatic
#1A374F #29587D #3878AB #5896C8 #86B3D7

Accessibility & contrast

On white

4.73
#3878AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3878AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3878AB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878AB#FFFFFF#000000##FFFFFF
##3878AB1.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)
#6179AD
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3878ab;
/* rgb */ color: rgb(56, 120, 171);
/* oklch */ color: oklch(55.4% 0.103 245.3);
Tailwind
colors: {
  custom: {
    50: '#7b9ec4',
    500: '#3878ab',
    950: '#000000',
  },
}
SCSS
$custom: #3878ab;
$custom-light: #7b9ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3878ab",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 206.609,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.10315,
    "h": 245.3
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#3878AB
secondary
#C19C7D
accent
#8C4EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3878AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3878AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva