#3878BF#3878BF

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

Color values

HEX#3878BF
RGBrgb(56, 120, 191)
HSLhsl(212, 55%, 48%)
HSVhsv(212, 71%, 75%)
CMYKcmyk(70.7%, 37.2%, 0%, 25.1%)
CIE-LABlab(49.54, 3.30, -43.16)
CIE-LCHlch(49.54, 43.29, 274.37°)
OKLaboklab(56.53% -0.0374 -0.1228)
OKLCHoklch(56.53% 0.128 253)
XYZxyz(17.7478, 18.0334, 51.8256)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878BF #BF7F38
analogous
#38BBBF #3878BF #3C38BF
triadic
#3878BF #BF3878 #78BF38
tetradic
#3878BF #BF38BB #BF7F38 #38BF3C
square
#3878BF #BF38BB #BF7F38 #38BF3C
split-complementary
#3878BF #BF3C38 #BBBF38
monochromatic
#1C3D60 #2A5A90 #3878BF #6397D1 #92B7DF

Accessibility & contrast

On white

4.56
#3878BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3878BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3878BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878BF#FFFFFF#000000##000000
##3878BF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3878bf;
/* rgb */ color: rgb(56, 120, 191);
/* oklch */ color: oklch(56.5% 0.128 253.0);
Tailwind
colors: {
  custom: {
    50: '#7f9ed2',
    500: '#3878bf',
    950: '#000000',
  },
}
SCSS
$custom: #3878bf;
$custom-light: #7f9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3878bf",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 211.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.12838,
    "h": 253
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#3878BF
secondary
#CAAB89
accent
#984ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3878BF

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

Preview Lab → · Contrast checker → · Palette generator →

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