#3878AA#3878AA

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

Color values

HEX#3878AA
RGBrgb(56, 120, 170)
HSLhsl(206, 50%, 44%)
HSVhsv(206, 67%, 67%)
CMYKcmyk(67.1%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.48, -4.17, -32.68)
CIE-LCHlch(48.48, 32.95, 262.73°)
OKLaboklab(55.35% -0.0434 -0.0922)
OKLCHoklch(55.35% 0.102 244.8)
XYZxyz(15.6003, 17.1744, 40.5152)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878AA #AA6A38
analogous
#38AAA3 #3878AA #383FAA
triadic
#3878AA #AA3878 #78AA38
tetradic
#3878AA #A338AA #AA6A38 #3FAA38
square
#3878AA #A338AA #AA6A38 #3FAA38
split-complementary
#3878AA #AA383F #AAA338
monochromatic
#1A374E #29587C #3878AA #5797C8 #85B3D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3878AA#FFFFFF#000000##FFFFFF
##3878AA1.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)
#6279AC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3878aa;
/* rgb */ color: rgb(56, 120, 170);
/* oklch */ color: oklch(55.4% 0.102 244.8);
Tailwind
colors: {
  custom: {
    50: '#7b9ec3',
    500: '#3878aa',
    950: '#000000',
  },
}
SCSS
$custom: #3878aa;
$custom-light: #7b9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3878aa",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 206.316,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.10194,
    "h": 244.8
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#3878AA
secondary
#C19B7D
accent
#8B4EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3878AA

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

Preview Lab → · Contrast checker → · Palette generator →

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