#3879AC#3879AC

#3879AC is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.104 H 245.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3879AC
RGBrgb(56, 121, 172)
HSLhsl(206, 51%, 45%)
HSVhsv(206, 67%, 67%)
CMYKcmyk(67.4%, 29.7%, 0%, 32.5%)
CIE-LABlab(48.87, -4.06, -33.22)
CIE-LCHlch(48.87, 33.47, 263.03°)
OKLaboklab(55.7% -0.0438 -0.0938)
OKLCHoklch(55.7% 0.104 245)
XYZxyz(15.9118, 17.4924, 41.5595)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879AC #AC6B38
analogous
#38ACA5 #3879AC #383FAC
triadic
#3879AC #AC3879 #79AC38
tetradic
#3879AC #A538AC #AC6B38 #3FAC38
square
#3879AC #A538AC #AC6B38 #3FAC38
split-complementary
#3879AC #AC383F #ACA538
monochromatic
#1A3850 #29597E #3879AC #5897C9 #87B4D8

Accessibility & contrast

On white

4.67
#3879AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3879AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3879AC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879AC#FFFFFF#000000##FFFFFF
##3879AC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3879ac;
/* rgb */ color: rgb(56, 121, 172);
/* oklch */ color: oklch(55.7% 0.104 245.0);
Tailwind
colors: {
  custom: {
    50: '#7b9fc5',
    500: '#3879ac',
    950: '#000000',
  },
}
SCSS
$custom: #3879ac;
$custom-light: #7b9fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3879ac",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 206.379,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.10354,
    "h": 245
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3879AC

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

Preview Lab → · Contrast checker → · Palette generator →

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