#3878AD#3878AD

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

Color values

HEX#3878AD
RGBrgb(56, 120, 173)
HSLhsl(207, 51%, 45%)
HSVhsv(207, 68%, 68%)
CMYKcmyk(67.6%, 30.6%, 0%, 32.2%)
CIE-LABlab(48.62, -3.12, -34.20)
CIE-LCHlch(48.62, 34.34, 264.79°)
OKLaboklab(55.51% -0.0425 -0.0966)
OKLCHoklch(55.51% 0.106 246.3)
XYZxyz(15.8873, 17.2892, 42.0269)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3878AD #AD6D38
analogous
#38ADA7 #3878AD #383EAD
triadic
#3878AD #AD3878 #78AD38
tetradic
#3878AD #A738AD #AD6D38 #3EAD38
square
#3878AD #A738AD #AD6D38 #3EAD38
split-complementary
#3878AD #AD383E #ADA738
monochromatic
#1A3851 #29587F #3878AD #5996C9 #87B4D8

Accessibility & contrast

On white

4.71
#3878AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3878AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3878AD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3878AD#FFFFFF#000000##FFFFFF
##3878AD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607AAF
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3878ad;
/* rgb */ color: rgb(56, 120, 173);
/* oklch */ color: oklch(55.5% 0.106 246.3);
Tailwind
colors: {
  custom: {
    50: '#7b9ec5',
    500: '#3878ad',
    950: '#000000',
  },
}
SCSS
$custom: #3878ad;
$custom-light: #7b9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3878ad",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 173
  },
  "hsl": {
    "h": 207.179,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.10557,
    "h": 246.3
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#3878AD
secondary
#C29D7F
accent
#8D4DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3878AD

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

Preview Lab → · Contrast checker → · Palette generator →

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