#3878D1#3878D1

#3878D1 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.6% C 0.152 H 257.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3878D1
RGBrgb(56, 120, 209)
HSLhsl(215, 62%, 52%)
HSVhsv(215, 73%, 82%)
CMYKcmyk(73.2%, 42.6%, 0%, 18%)
CIE-LABlab(50.54, 9.85, -51.85)
CIE-LCHlch(50.54, 52.78, 280.75°)
OKLaboklab(57.64% -0.0334 -0.1483)
OKLCHoklch(57.64% 0.152 257.3)
XYZxyz(19.8518, 18.8749, 62.9062)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878D1 #D19138
analogous
#38C5D1 #3878D1 #4538D1
triadic
#3878D1 #D13878 #78D138
tetradic
#3878D1 #D138C5 #D19138 #38D145
square
#3878D1 #D138C5 #D19138 #38D145
split-complementary
#3878D1 #D14538 #C5D138
monochromatic
#1B4074 #265CA6 #3878D1 #6A9ADC #9BBBE8

Accessibility & contrast

On white

4.40
#3878D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3878D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878D1#FFFFFF#000000##000000
##3878D11.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D4
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3878d1;
/* rgb */ color: rgb(56, 120, 209);
/* oklch */ color: oklch(57.6% 0.152 257.3);
Tailwind
colors: {
  custom: {
    50: '#829edf',
    500: '#3878d1',
    950: '#000000',
  },
}
SCSS
$custom: #3878d1;
$custom-light: #829edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3878d1",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 214.902,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.152,
    "h": 257.3
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#3878D1
secondary
#D4B891
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3878D1

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

Preview Lab → · Contrast checker → · Palette generator →

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