#3879A4#3879A4

#3879A4 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.094 H 240.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3879A4
RGBrgb(56, 121, 164)
HSLhsl(204, 49%, 43%)
HSVhsv(204, 66%, 64%)
CMYKcmyk(65.9%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.50, -6.84, -29.14)
CIE-LCHlch(48.50, 29.94, 256.80°)
OKLaboklab(55.28% -0.0465 -0.082)
OKLCHoklch(55.28% 0.094 240.5)
XYZxyz(15.1665, 17.1943, 37.6343)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879A4 #A46338
analogous
#38A499 #3879A4 #3843A4
triadic
#3879A4 #A43879 #79A438
tetradic
#3879A4 #9938A4 #A46338 #43A438
square
#3879A4 #9938A4 #A46338 #43A438
split-complementary
#3879A4 #A43843 #A49938
monochromatic
#193649 #285776 #3879A4 #5498C5 #82B4D4

Accessibility & contrast

On white

4.73
#3879A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3879A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3879A4#FFFFFF#000000##FFFFFF
##3879A41.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)
#6579A6
Deuteranopia (green-blind)
#576EA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3879a4;
/* rgb */ color: rgb(56, 121, 164);
/* oklch */ color: oklch(55.3% 0.094 240.5);
Tailwind
colors: {
  custom: {
    50: '#7a9fbf',
    500: '#3879a4',
    950: '#000000',
  },
}
SCSS
$custom: #3879a4;
$custom-light: #7a9fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3879a4",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 203.889,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.09423,
    "h": 240.5
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#3879A4
secondary
#BE957A
accent
#864FD9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3879A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3879A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva