#3878CD#3878CD

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

Color values

HEX#3878CD
RGBrgb(56, 120, 205)
HSLhsl(214, 60%, 51%)
HSVhsv(214, 73%, 80%)
CMYKcmyk(72.7%, 41.5%, 0%, 19.6%)
CIE-LABlab(50.31, 8.38, -49.94)
CIE-LCHlch(50.31, 50.64, 279.53°)
OKLaboklab(57.38% -0.0342 -0.1427)
OKLCHoklch(57.38% 0.147 256.5)
XYZxyz(19.3628, 18.6793, 60.3308)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CD #CD8D38
analogous
#38C2CD #3878CD #4238CD
triadic
#3878CD #CD3878 #78CD38
tetradic
#3878CD #CD38C2 #CD8D38 #38CD42
square
#3878CD #CD38C2 #CD8D38 #38CD42
split-complementary
#3878CD #CD4238 #C2CD38
monochromatic
#1C3F6F #285BA0 #3878CD #6999D9 #9ABAE6

Accessibility & contrast

On white

4.43
#3878CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3878CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CD#FFFFFF#000000##000000
##3878CD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3878cd;
/* rgb */ color: rgb(56, 120, 205);
/* oklch */ color: oklch(57.4% 0.147 256.5);
Tailwind
colors: {
  custom: {
    50: '#819edd',
    500: '#3878cd',
    950: '#000000',
  },
}
SCSS
$custom: #3878cd;
$custom-light: #819edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3878cd",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 214.228,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.14673,
    "h": 256.5
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#3878CD
secondary
#D1B58F
accent
#9F45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878CD

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

Preview Lab → · Contrast checker → · Palette generator →

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