#3878AC#3878AC

#3878AC is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.104 H 245.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3878AC
RGBrgb(56, 120, 172)
HSLhsl(207, 51%, 45%)
HSVhsv(207, 67%, 67%)
CMYKcmyk(67.4%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.57, -3.47, -33.70)
CIE-LCHlch(48.57, 33.87, 264.12°)
OKLaboklab(55.46% -0.0428 -0.0952)
OKLCHoklch(55.46% 0.104 245.8)
XYZxyz(15.7909, 17.2506, 41.5192)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878AC #AC6C38
analogous
#38ACA6 #3878AC #383EAC
triadic
#3878AC #AC3878 #78AC38
tetradic
#3878AC #A638AC #AC6C38 #3EAC38
square
#3878AC #A638AC #AC6C38 #3EAC38
split-complementary
#3878AC #AC383E #ACA638
monochromatic
#1A3850 #29587E #3878AC #5896C9 #87B3D8

Accessibility & contrast

On white

4.72
#3878AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3878AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3878AC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878AC#FFFFFF#000000##FFFFFF
##3878AC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3878ac;
/* rgb */ color: rgb(56, 120, 172);
/* oklch */ color: oklch(55.5% 0.104 245.8);
Tailwind
colors: {
  custom: {
    50: '#7b9ec5',
    500: '#3878ac',
    950: '#000000',
  },
}
SCSS
$custom: #3878ac;
$custom-light: #7b9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3878ac",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 206.897,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.10435,
    "h": 245.8
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#3878AC
secondary
#C29C7E
accent
#8D4DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3878AC

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

Preview Lab → · Contrast checker → · Palette generator →

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