#3878C6#3878C6

#3878C6 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.138 H 254.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3878C6
RGBrgb(56, 120, 198)
HSLhsl(213, 56%, 50%)
HSVhsv(213, 72%, 78%)
CMYKcmyk(71.7%, 39.4%, 0%, 22.4%)
CIE-LABlab(49.92, 5.83, -46.57)
CIE-LCHlch(49.92, 46.94, 277.14°)
OKLaboklab(56.95% -0.0357 -0.1328)
OKLCHoklch(56.95% 0.138 254.9)
XYZxyz(18.5366, 18.3489, 55.9799)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878C6 #C68638
analogous
#38BFC6 #3878C6 #3F38C6
triadic
#3878C6 #C63878 #78C638
tetradic
#3878C6 #C638BF #C68638 #38C63F
square
#3878C6 #C638BF #C68638 #38C63F
split-complementary
#3878C6 #C63F38 #BFC638
monochromatic
#1D3E67 #2B5B96 #3878C6 #6798D4 #97B9E2

Accessibility & contrast

On white

4.50
#3878C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#3878C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878C6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878C6#FFFFFF#000000##000000
##3878C61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC9
Deuteranopia (green-blind)
#3E71C4
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878c6;
/* rgb */ color: rgb(56, 120, 198);
/* oklch */ color: oklch(56.9% 0.138 254.9);
Tailwind
colors: {
  custom: {
    50: '#809ed8',
    500: '#3878c6',
    950: '#000000',
  },
}
SCSS
$custom: #3878c6;
$custom-light: #809ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3878c6",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 198
  },
  "hsl": {
    "h": 212.958,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.13753,
    "h": 254.9
  },
  "luminance": 0.18351
}

Semantic roles & 50–950 ramp

primary
#3878C6
secondary
#CDB08D
accent
#9B49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3878C6

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

Preview Lab → · Contrast checker → · Palette generator →

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