#3879C2#3879C2

#3879C2 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.131 H 253.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3879C2
RGBrgb(56, 121, 194)
HSLhsl(212, 55%, 49%)
HSVhsv(212, 71%, 76%)
CMYKcmyk(71.1%, 37.6%, 0%, 23.9%)
CIE-LABlab(49.99, 3.77, -44.17)
CIE-LCHlch(49.99, 44.33, 274.88°)
OKLaboklab(56.93% -0.0376 -0.1257)
OKLCHoklch(56.93% 0.131 253.3)
XYZxyz(18.2023, 18.4086, 53.6224)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879C2 #C28138
analogous
#38BEC2 #3879C2 #3C38C2
triadic
#3879C2 #C23879 #79C238
tetradic
#3879C2 #C238BE #C28138 #38C23C
square
#3879C2 #C238BE #C28138 #38C23C
split-complementary
#3879C2 #C23C38 #BEC238
monochromatic
#1D3E63 #2A5B93 #3879C2 #6598D2 #94B8E0

Accessibility & contrast

On white

4.49
#3879C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#3879C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879C2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879C2#FFFFFF#000000##000000
##3879C21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3879c2;
/* rgb */ color: rgb(56, 121, 194);
/* oklch */ color: oklch(56.9% 0.131 253.3);
Tailwind
colors: {
  custom: {
    50: '#7f9fd5',
    500: '#3879c2',
    950: '#000000',
  },
}
SCSS
$custom: #3879c2;
$custom-light: #7f9fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3879c2",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 211.739,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.13125,
    "h": 253.3
  },
  "luminance": 0.18411
}

Semantic roles & 50–950 ramp

primary
#3879C2
secondary
#CBAD8A
accent
#9849DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3879C2

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

Preview Lab → · Contrast checker → · Palette generator →

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