#3879A2#3879A2

#3879A2 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.092 H 239.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3879A2
RGBrgb(56, 121, 162)
HSLhsl(203, 49%, 43%)
HSVhsv(203, 65%, 64%)
CMYKcmyk(65.4%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.41, -7.52, -28.12)
CIE-LCHlch(48.41, 29.10, 255.02°)
OKLaboklab(55.18% -0.0471 -0.079)
OKLCHoklch(55.18% 0.092 239.2)
XYZxyz(14.9874, 17.1226, 36.6906)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879A2 #A26138
analogous
#38A296 #3879A2 #3844A2
triadic
#3879A2 #A23879 #79A238
tetradic
#3879A2 #9638A2 #A26138 #44A238
square
#3879A2 #9638A2 #A26138 #44A238
split-complementary
#3879A2 #A23844 #A29638
monochromatic
#193547 #285775 #3879A2 #5398C4 #81B4D3

Accessibility & contrast

On white

4.75
#3879A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3879A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3879A2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879A2#FFFFFF#000000##FFFFFF
##3879A21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3879a2;
/* rgb */ color: rgb(56, 121, 162);
/* oklch */ color: oklch(55.2% 0.092 239.2);
Tailwind
colors: {
  custom: {
    50: '#7a9fbd',
    500: '#3879a2',
    950: '#000000',
  },
}
SCSS
$custom: #3879a2;
$custom-light: #7a9fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3879a2",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 203.208,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.092,
    "h": 239.2
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#3879A2
secondary
#BD9379
accent
#8450D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3879A2

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

Preview Lab → · Contrast checker → · Palette generator →

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