#3878A2#3878A2

#3878A2 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.093 H 240.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3878A2
RGBrgb(56, 120, 162)
HSLhsl(204, 49%, 43%)
HSVhsv(204, 65%, 64%)
CMYKcmyk(65.4%, 25.9%, 0%, 36.5%)
CIE-LABlab(48.11, -6.94, -28.59)
CIE-LCHlch(48.11, 29.42, 256.36°)
OKLaboklab(54.94% -0.0461 -0.0804)
OKLCHoklch(54.94% 0.093 240.2)
XYZxyz(14.8665, 16.8808, 36.6503)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878A2 #A26238
analogous
#38A297 #3878A2 #3843A2
triadic
#3878A2 #A23878 #78A238
tetradic
#3878A2 #9738A2 #A26238 #43A238
square
#3878A2 #9738A2 #A26238 #43A238
split-complementary
#3878A2 #A23843 #A29738
monochromatic
#193547 #285675 #3878A2 #5397C4 #81B3D3

Accessibility & contrast

On white

4.80
#3878A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3878A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3878A2#FFFFFF#000000##FFFFFF
##3878A21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#566EA1
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3878a2;
/* rgb */ color: rgb(56, 120, 162);
/* oklch */ color: oklch(54.9% 0.093 240.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ebd',
    500: '#3878a2',
    950: '#000000',
  },
}
SCSS
$custom: #3878a2;
$custom-light: #7a9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3878a2",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 203.774,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.09265,
    "h": 240.2
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#3878A2
secondary
#BD9479
accent
#8650D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3878A2

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

Preview Lab → · Contrast checker → · Palette generator →

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