#3878BC#3878BC

#3878BC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.124 H 252.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#3878BC
RGBrgb(56, 120, 188)
HSLhsl(211, 54%, 48%)
HSVhsv(211, 70%, 74%)
CMYKcmyk(70.2%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.38, 2.22, -41.69)
CIE-LCHlch(49.38, 41.75, 273.05°)
OKLaboklab(56.35% -0.0382 -0.1185)
OKLCHoklch(56.35% 0.125 252.1)
XYZxyz(17.4211, 17.9027, 50.1046)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878BC #BC7C38
analogous
#38BABC #3878BC #3A38BC
triadic
#3878BC #BC3878 #78BC38
tetradic
#3878BC #BC38BA #BC7C38 #38BC3A
square
#3878BC #BC38BA #BC7C38 #38BC3A
split-complementary
#3878BC #BC3A38 #BABC38
monochromatic
#1C3C5E #2A5A8D #3878BC #6197D0 #90B6DE

Accessibility & contrast

On white

4.58
#3878BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3878BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878BC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878BC#FFFFFF#000000##000000
##3878BC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3878bc;
/* rgb */ color: rgb(56, 120, 188);
/* oklch */ color: oklch(56.4% 0.124 252.1);
Tailwind
colors: {
  custom: {
    50: '#7e9ed0',
    500: '#3878bc',
    950: '#000000',
  },
}
SCSS
$custom: #3878bc;
$custom-light: #7e9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3878bc",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 210.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.1245,
    "h": 252.1
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#3878BC
secondary
#C9A987
accent
#964ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3878BC

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

Preview Lab → · Contrast checker → · Palette generator →

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