#3879C5#3879C5

#3879C5 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.135 H 254.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3879C5
RGBrgb(56, 121, 197)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 72%, 77%)
CMYKcmyk(71.6%, 38.6%, 0%, 22.7%)
CIE-LABlab(50.15, 4.86, -45.63)
CIE-LCHlch(50.15, 45.89, 276.08°)
OKLaboklab(57.11% -0.0369 -0.13)
OKLCHoklch(57.11% 0.135 254.2)
XYZxyz(18.5426, 18.5447, 55.4147)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879C5 #C58438
analogous
#38C0C5 #3879C5 #3D38C5
triadic
#3879C5 #C53879 #79C538
tetradic
#3879C5 #C538C0 #C58438 #38C53D
square
#3879C5 #C538C0 #C58438 #38C53D
split-complementary
#3879C5 #C53D38 #C0C538
monochromatic
#1D3E66 #2A5C95 #3879C5 #6799D4 #96B9E1

Accessibility & contrast

On white

4.46
#3879C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3879C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879C5#FFFFFF#000000##000000
##3879C51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC8
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3879c5;
/* rgb */ color: rgb(56, 121, 197);
/* oklch */ color: oklch(57.1% 0.135 254.2);
Tailwind
colors: {
  custom: {
    50: '#809fd7',
    500: '#3879c5',
    950: '#000000',
  },
}
SCSS
$custom: #3879c5;
$custom-light: #809fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3879c5",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 212.34,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.13516,
    "h": 254.2
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#3879C5
secondary
#CDAF8C
accent
#9A49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3879C5

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

Preview Lab → · Contrast checker → · Palette generator →

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