#3878C8#3878C8

#3878C8 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.1% C 0.140 H 255.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3878C8
RGBrgb(56, 120, 200)
HSLhsl(213, 57%, 50%)
HSVhsv(213, 72%, 78%)
CMYKcmyk(72%, 40%, 0%, 21.6%)
CIE-LABlab(50.03, 6.56, -47.54)
CIE-LCHlch(50.03, 47.99, 277.86°)
OKLaboklab(57.07% -0.0353 -0.1356)
OKLCHoklch(57.07% 0.14 255.4)
XYZxyz(18.7688, 18.4418, 57.2028)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878C8 #C88838
analogous
#38C0C8 #3878C8 #4038C8
triadic
#3878C8 #C83878 #78C838
tetradic
#3878C8 #C838C0 #C88838 #38C840
square
#3878C8 #C838C0 #C88838 #38C840
split-complementary
#3878C8 #C84038 #C0C838
monochromatic
#1D3F69 #2A5B99 #3878C8 #6899D5 #98B9E3

Accessibility & contrast

On white

4.48
#3878C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3878C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878C8#FFFFFF#000000##000000
##3878C81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#3C71C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878c8;
/* rgb */ color: rgb(56, 120, 200);
/* oklch */ color: oklch(57.1% 0.140 255.4);
Tailwind
colors: {
  custom: {
    50: '#809ed9',
    500: '#3878c8',
    950: '#000000',
  },
}
SCSS
$custom: #3878c8;
$custom-light: #809ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3878c8",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 213.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.14015,
    "h": 255.4
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#3878C8
secondary
#CEB18E
accent
#9C48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878C8

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

Preview Lab → · Contrast checker → · Palette generator →

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