#3878B9#3878B9

#3878B9 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.121 H 251.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3878B9
RGBrgb(56, 120, 185)
HSLhsl(210, 54%, 47%)
HSVhsv(210, 70%, 73%)
CMYKcmyk(69.7%, 35.1%, 0%, 27.5%)
CIE-LABlab(49.22, 1.14, -40.21)
CIE-LCHlch(49.22, 40.22, 271.63°)
OKLaboklab(56.18% -0.039 -0.1142)
OKLCHoklch(56.18% 0.121 251.1)
XYZxyz(17.1011, 17.7747, 48.4191)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878B9 #B97938
analogous
#38B8B9 #3878B9 #3938B9
triadic
#3878B9 #B93878 #78B938
tetradic
#3878B9 #B938B8 #B97938 #38B939
square
#3878B9 #B938B8 #B97938 #38B939
split-complementary
#3878B9 #B93938 #B8B938
monochromatic
#1C3B5B #2A5A8A #3878B9 #5F97CF #8EB5DD

Accessibility & contrast

On white

4.61
#3878B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3878B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3878B9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878B9#FFFFFF#000000##FFFFFF
##3878B91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBC
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3878b9;
/* rgb */ color: rgb(56, 120, 185);
/* oklch */ color: oklch(56.2% 0.121 251.1);
Tailwind
colors: {
  custom: {
    50: '#7d9ece',
    500: '#3878b9',
    950: '#000000',
  },
}
SCSS
$custom: #3878b9;
$custom-light: #7d9ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3878b9",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 210.233,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.12064,
    "h": 251.1
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#3878B9
secondary
#C8A785
accent
#944BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3878B9

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

Preview Lab → · Contrast checker → · Palette generator →

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