#3878CB#3878CB

#3878CB is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.144 H 256.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3878CB
RGBrgb(56, 120, 203)
HSLhsl(214, 59%, 51%)
HSVhsv(214, 72%, 80%)
CMYKcmyk(72.4%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.20, 7.65, -48.98)
CIE-LCHlch(50.20, 49.58, 278.88°)
OKLaboklab(57.26% -0.0346 -0.1399)
OKLCHoklch(57.26% 0.144 256.1)
XYZxyz(19.1229, 18.5834, 59.0675)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CB #CB8B38
analogous
#38C1CB #3878CB #4138CB
triadic
#3878CB #CB3878 #78CB38
tetradic
#3878CB #CB38C1 #CB8B38 #38CB41
square
#3878CB #CB38C1 #CB8B38 #38CB41
split-complementary
#3878CB #CB4138 #C1CB38
monochromatic
#1C3F6C #295B9D #3878CB #6999D8 #99BAE4

Accessibility & contrast

On white

4.45
#3878CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3878CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CB#FFFFFF#000000##000000
##3878CB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878cb;
/* rgb */ color: rgb(56, 120, 203);
/* oklch */ color: oklch(57.3% 0.144 256.1);
Tailwind
colors: {
  custom: {
    50: '#819edb',
    500: '#3878cb',
    950: '#000000',
  },
}
SCSS
$custom: #3878cb;
$custom-light: #819edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3878cb",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 213.878,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.14409,
    "h": 256.1
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#3878CB
secondary
#D0B48F
accent
#9E46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878CB

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

Preview Lab → · Contrast checker → · Palette generator →

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