#3878CE#3878CE

#3878CE is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.4% C 0.148 H 256.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3878CE
RGBrgb(56, 120, 206)
HSLhsl(214, 60%, 51%)
HSVhsv(214, 73%, 81%)
CMYKcmyk(72.8%, 41.7%, 0%, 19.2%)
CIE-LABlab(50.37, 8.75, -50.42)
CIE-LCHlch(50.37, 51.17, 279.84°)
OKLaboklab(57.45% -0.034 -0.1441)
OKLCHoklch(57.45% 0.148 256.7)
XYZxyz(19.4839, 18.7278, 60.9685)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CE #CE8E38
analogous
#38C3CE #3878CE #4338CE
triadic
#3878CE #CE3878 #78CE38
tetradic
#3878CE #CE38C3 #CE8E38 #38CE43
square
#3878CE #CE38C3 #CE8E38 #38CE43
split-complementary
#3878CE #CE4338 #C3CE38
monochromatic
#1C4070 #285BA1 #3878CE #6999DA #9ABBE6

Accessibility & contrast

On white

4.42
#3878CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3878CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CE#FFFFFF#000000##000000
##3878CE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3878ce;
/* rgb */ color: rgb(56, 120, 206);
/* oklch */ color: oklch(57.4% 0.148 256.7);
Tailwind
colors: {
  custom: {
    50: '#819edd',
    500: '#3878ce',
    950: '#000000',
  },
}
SCSS
$custom: #3878ce;
$custom-light: #819edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3878ce",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 214.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.14804,
    "h": 256.7
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#3878CE
secondary
#D2B690
accent
#A044E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878CE

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

Preview Lab → · Contrast checker → · Palette generator →

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