#3878BE#3878BE

#3878BE is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.5% C 0.127 H 252.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3878BE
RGBrgb(56, 120, 190)
HSLhsl(211, 54%, 48%)
HSVhsv(211, 71%, 75%)
CMYKcmyk(70.5%, 36.8%, 0%, 25.5%)
CIE-LABlab(49.48, 2.94, -42.67)
CIE-LCHlch(49.48, 42.77, 273.94°)
OKLaboklab(56.47% -0.0377 -0.1214)
OKLCHoklch(56.47% 0.127 252.8)
XYZxyz(17.6382, 17.9895, 51.2480)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878BE #BE7E38
analogous
#38BBBE #3878BE #3B38BE
triadic
#3878BE #BE3878 #78BE38
tetradic
#3878BE #BE38BB #BE7E38 #38BE3B
square
#3878BE #BE38BB #BE7E38 #38BE3B
split-complementary
#3878BE #BE3B38 #BBBE38
monochromatic
#1C3C5F #2A5A8F #3878BE #6297D1 #92B6DF

Accessibility & contrast

On white

4.57
#3878BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#3878BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878BE#FFFFFF#000000##000000
##3878BE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC1
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3878be;
/* rgb */ color: rgb(56, 120, 190);
/* oklch */ color: oklch(56.5% 0.127 252.8);
Tailwind
colors: {
  custom: {
    50: '#7e9ed2',
    500: '#3878be',
    950: '#000000',
  },
}
SCSS
$custom: #3878be;
$custom-light: #7e9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3878be",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 211.343,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.12708,
    "h": 252.8
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#3878BE
secondary
#CAAA88
accent
#974ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3878BE

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

Preview Lab → · Contrast checker → · Palette generator →

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