#3878B8#3878B8

#3878B8 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.119 H 250.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3878B8
RGBrgb(56, 120, 184)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 70%, 72%)
CMYKcmyk(69.6%, 34.8%, 0%, 27.8%)
CIE-LABlab(49.17, 0.78, -39.71)
CIE-LCHlch(49.17, 39.72, 271.13°)
OKLaboklab(56.12% -0.0393 -0.1127)
OKLCHoklch(56.12% 0.119 250.8)
XYZxyz(16.9959, 17.7326, 47.8651)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878B8 #B87838
analogous
#38B8B8 #3878B8 #3838B8
triadic
#3878B8 #B83878 #78B838
tetradic
#3878B8 #B838B8 #B87838 #38B838
square
#3878B8 #B838B8 #B87838 #38B838
split-complementary
#3878B8 #B83838 #B8B838
monochromatic
#1B3B5A #2A5989 #3878B8 #5F97CE #8EB5DD

Accessibility & contrast

On white

4.62
#3878B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3878B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3878B8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878B8#FFFFFF#000000##FFFFFF
##3878B81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3878b8;
/* rgb */ color: rgb(56, 120, 184);
/* oklch */ color: oklch(56.1% 0.119 250.8);
Tailwind
colors: {
  custom: {
    50: '#7d9ecd',
    500: '#3878b8',
    950: '#000000',
  },
}
SCSS
$custom: #3878b8;
$custom-light: #7d9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3878b8",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 210,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56123,
    "c": 0.11936,
    "h": 250.8
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3878B8

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

Preview Lab → · Contrast checker → · Palette generator →

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