#3879B2#3879B2

#3879B2 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.111 H 247.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3879B2
RGBrgb(56, 121, 178)
HSLhsl(208, 52%, 46%)
HSVhsv(208, 69%, 70%)
CMYKcmyk(68.5%, 32%, 0%, 30.2%)
CIE-LABlab(49.16, -1.95, -36.25)
CIE-LCHlch(49.16, 36.30, 266.92°)
OKLaboklab(56.02% -0.042 -0.1026)
OKLCHoklch(56.02% 0.111 247.7)
XYZxyz(16.5011, 17.7281, 44.6631)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879B2 #B27138
analogous
#38B2AE #3879B2 #383CB2
triadic
#3879B2 #B23879 #79B238
tetradic
#3879B2 #AE38B2 #B27138 #3CB238
square
#3879B2 #AE38B2 #B27138 #3CB238
split-complementary
#3879B2 #B2383C #B2AE38
monochromatic
#1B3A55 #295983 #3879B2 #5C97CC #8AB5DA

Accessibility & contrast

On white

4.62
#3879B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3879B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3879B2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879B2#FFFFFF#000000##FFFFFF
##3879B21.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)
#607BB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3879b2;
/* rgb */ color: rgb(56, 121, 178);
/* oklch */ color: oklch(56.0% 0.111 247.7);
Tailwind
colors: {
  custom: {
    50: '#7c9fc9',
    500: '#3879b2',
    950: '#000000',
  },
}
SCSS
$custom: #3879b2;
$custom-light: #7c9fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3879b2",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 208.033,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.11086,
    "h": 247.7
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#3879B2
secondary
#C5A181
accent
#8F4CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3879B2

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

Preview Lab → · Contrast checker → · Palette generator →

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