#3879C4#3879C4

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

Color values

HEX#3879C4
RGBrgb(56, 121, 196)
HSLhsl(212, 56%, 49%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(71.4%, 38.3%, 0%, 23.1%)
CIE-LABlab(50.10, 4.50, -45.14)
CIE-LCHlch(50.10, 45.37, 275.69°)
OKLaboklab(57.05% -0.0371 -0.1286)
OKLCHoklch(57.05% 0.134 253.9)
XYZxyz(18.4284, 18.4990, 54.8133)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879C4 #C48338
analogous
#38BFC4 #3879C4 #3D38C4
triadic
#3879C4 #C43879 #79C438
tetradic
#3879C4 #C438BF #C48338 #38C43D
square
#3879C4 #C438BF #C48338 #38C43D
split-complementary
#3879C4 #C43D38 #BFC438
monochromatic
#1D3E65 #2A5C94 #3879C4 #6699D3 #96B9E1

Accessibility & contrast

On white

4.47
#3879C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3879C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879C4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879C4#FFFFFF#000000##000000
##3879C41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC7
Deuteranopia (green-blind)
#4171C2
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3879c4;
/* rgb */ color: rgb(56, 121, 196);
/* oklch */ color: oklch(57.1% 0.134 253.9);
Tailwind
colors: {
  custom: {
    50: '#7f9fd6',
    500: '#3879c4',
    950: '#000000',
  },
}
SCSS
$custom: #3879c4;
$custom-light: #7f9fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3879c4",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 212.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.13385,
    "h": 253.9
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#3879C4
secondary
#CCAE8C
accent
#9949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3879C4

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

Preview Lab → · Contrast checker → · Palette generator →

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