#3878BB#3878BB

#3878BB is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.123 H 251.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3878BB
RGBrgb(56, 120, 187)
HSLhsl(211, 54%, 48%)
HSVhsv(211, 70%, 73%)
CMYKcmyk(70.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.33, 1.86, -41.19)
CIE-LCHlch(49.33, 41.24, 272.58°)
OKLaboklab(56.29% -0.0385 -0.117)
OKLCHoklch(56.29% 0.123 251.8)
XYZxyz(17.3137, 17.8597, 49.5389)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878BB #BB7B38
analogous
#38B9BB #3878BB #3A38BB
triadic
#3878BB #BB3878 #78BB38
tetradic
#3878BB #BB38B9 #BB7B38 #38BB3A
square
#3878BB #BB38B9 #BB7B38 #38BB3A
split-complementary
#3878BB #BB3A38 #B9BB38
monochromatic
#1C3C5D #2A5A8C #3878BB #6197D0 #90B6DE

Accessibility & contrast

On white

4.59
#3878BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3878BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3878BB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878BB#FFFFFF#000000##FFFFFF
##3878BB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3878bb;
/* rgb */ color: rgb(56, 120, 187);
/* oklch */ color: oklch(56.3% 0.123 251.8);
Tailwind
colors: {
  custom: {
    50: '#7e9ed0',
    500: '#3878bb',
    950: '#000000',
  },
}
SCSS
$custom: #3878bb;
$custom-light: #7e9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3878bb",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 210.687,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.12321,
    "h": 251.8
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#3878BB
secondary
#C8A886
accent
#964BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3878BB

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

Preview Lab → · Contrast checker → · Palette generator →

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