#3878C9#3878C9

#3878C9 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.141 H 255.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3878C9
RGBrgb(56, 120, 201)
HSLhsl(214, 57%, 50%)
HSVhsv(214, 72%, 79%)
CMYKcmyk(72.1%, 40.3%, 0%, 21.2%)
CIE-LABlab(50.08, 6.93, -48.02)
CIE-LCHlch(50.08, 48.52, 278.21°)
OKLaboklab(57.13% -0.035 -0.137)
OKLCHoklch(57.13% 0.141 255.7)
XYZxyz(18.8861, 18.4887, 57.8203)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878C9 #C98938
analogous
#38C1C9 #3878C9 #4038C9
triadic
#3878C9 #C93878 #78C938
tetradic
#3878C9 #C938C1 #C98938 #38C940
square
#3878C9 #C938C1 #C98938 #38C940
split-complementary
#3878C9 #C94038 #C1C938
monochromatic
#1D3F6A #2A5B9A #3878C9 #6899D6 #98B9E3

Accessibility & contrast

On white

4.47
#3878C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3878C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878C9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878C9#FFFFFF#000000##000000
##3878C91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECC
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878c9;
/* rgb */ color: rgb(56, 120, 201);
/* oklch */ color: oklch(57.1% 0.141 255.7);
Tailwind
colors: {
  custom: {
    50: '#809eda',
    500: '#3878c9',
    950: '#000000',
  },
}
SCSS
$custom: #3878c9;
$custom-light: #809eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3878c9",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 213.517,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.14146,
    "h": 255.7
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#3878C9
secondary
#CFB28E
accent
#9D47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878C9

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

Preview Lab → · Contrast checker → · Palette generator →

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