#3878CC#3878CC

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

Color values

HEX#3878CC
RGBrgb(56, 120, 204)
HSLhsl(214, 59%, 51%)
HSVhsv(214, 73%, 80%)
CMYKcmyk(72.5%, 41.2%, 0%, 20%)
CIE-LABlab(50.25, 8.02, -49.46)
CIE-LCHlch(50.25, 50.11, 279.21°)
OKLaboklab(57.32% -0.0344 -0.1413)
OKLCHoklch(57.32% 0.145 256.3)
XYZxyz(19.2424, 18.6312, 59.6971)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878CC #CC8C38
analogous
#38C2CC #3878CC #4238CC
triadic
#3878CC #CC3878 #78CC38
tetradic
#3878CC #CC38C2 #CC8C38 #38CC42
square
#3878CC #CC38C2 #CC8C38 #38CC42
split-complementary
#3878CC #CC4238 #C2CC38
monochromatic
#1C3F6E #295B9E #3878CC #6999D8 #99BAE5

Accessibility & contrast

On white

4.44
#3878CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3878CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878CC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878CC#FFFFFF#000000##000000
##3878CC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3878cc;
/* rgb */ color: rgb(56, 120, 204);
/* oklch */ color: oklch(57.3% 0.145 256.3);
Tailwind
colors: {
  custom: {
    50: '#819edc',
    500: '#3878cc',
    950: '#000000',
  },
}
SCSS
$custom: #3878cc;
$custom-light: #819edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3878cc",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 214.054,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.14541,
    "h": 256.3
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#3878CC
secondary
#D1B48F
accent
#9F45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878CC

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

Preview Lab → · Contrast checker → · Palette generator →

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