#3878CF#3878CF

#3878CF is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.5% C 0.149 H 256.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3878CF
RGBrgb(56, 120, 207)
HSLhsl(215, 61%, 52%)
HSVhsv(215, 73%, 81%)
CMYKcmyk(72.9%, 42%, 0%, 18.8%)
CIE-LABlab(50.42, 9.11, -50.90)
CIE-LCHlch(50.42, 51.71, 280.15°)
OKLaboklab(57.51% -0.0338 -0.1455)
OKLCHoklch(57.51% 0.149 256.9)
XYZxyz(19.6057, 18.7765, 61.6103)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CF #CF8F38
analogous
#38C3CF #3878CF #4438CF
triadic
#3878CF #CF3878 #78CF38
tetradic
#3878CF #CF38C3 #CF8F38 #38CF44
square
#3878CF #CF38C3 #CF8F38 #38CF44
split-complementary
#3878CF #CF4438 #C3CF38
monochromatic
#1B4071 #275CA3 #3878CF #6999DB #9BBBE7

Accessibility & contrast

On white

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

On black

4.76
#3878CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CF#FFFFFF#000000##000000
##3878CF1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#3472CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3878cf;
/* rgb */ color: rgb(56, 120, 207);
/* oklch */ color: oklch(57.5% 0.149 256.9);
Tailwind
colors: {
  custom: {
    50: '#829ede',
    500: '#3878cf',
    950: '#000000',
  },
}
SCSS
$custom: #3878cf;
$custom-light: #829ede;
$custom-dark: #000000;
JSON
{
  "hex": "#3878cf",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 214.57,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.14937,
    "h": 256.9
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3878CF

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

Preview Lab → · Contrast checker → · Palette generator →

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