#3878C7#3878C7

#3878C7 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.139 H 255.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3878C7
RGBrgb(56, 120, 199)
HSLhsl(213, 56%, 50%)
HSVhsv(213, 72%, 78%)
CMYKcmyk(71.9%, 39.7%, 0%, 22%)
CIE-LABlab(49.97, 6.20, -47.06)
CIE-LCHlch(49.97, 47.46, 277.50°)
OKLaboklab(57.01% -0.0355 -0.1342)
OKLCHoklch(57.01% 0.139 255.2)
XYZxyz(18.6524, 18.3952, 56.5894)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878C7 #C78738
analogous
#38BFC7 #3878C7 #4038C7
triadic
#3878C7 #C73878 #78C738
tetradic
#3878C7 #C738BF #C78738 #38C740
square
#3878C7 #C738BF #C78738 #38C740
split-complementary
#3878C7 #C74038 #BFC738
monochromatic
#1D3E67 #2B5B97 #3878C7 #6898D4 #98B9E2

Accessibility & contrast

On white

4.49
#3878C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#3878C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878C7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878C7#FFFFFF#000000##000000
##3878C71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3878c7;
/* rgb */ color: rgb(56, 120, 199);
/* oklch */ color: oklch(57.0% 0.139 255.2);
Tailwind
colors: {
  custom: {
    50: '#809ed8',
    500: '#3878c7',
    950: '#000000',
  },
}
SCSS
$custom: #3878c7;
$custom-light: #809ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3878c7",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 213.147,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.13884,
    "h": 255.2
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#3878C7
secondary
#CDB18D
accent
#9C48DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3878C7

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

Preview Lab → · Contrast checker → · Palette generator →

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