#3879D2#3879D2

#3879D2 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.9% C 0.152 H 257.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3879D2
RGBrgb(56, 121, 210)
HSLhsl(215, 63%, 52%)
HSVhsv(215, 73%, 82%)
CMYKcmyk(73.3%, 42.4%, 0%, 17.6%)
CIE-LABlab(50.88, 9.59, -51.87)
CIE-LCHlch(50.88, 52.75, 280.48°)
OKLaboklab(57.92% -0.034 -0.1483)
OKLCHoklch(57.92% 0.152 257.1)
XYZxyz(20.0969, 19.1664, 63.6006)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879D2 #D29138
analogous
#38C6D2 #3879D2 #4438D2
triadic
#3879D2 #D23879 #79D238
tetradic
#3879D2 #D238C6 #D29138 #38D244
square
#3879D2 #D238C6 #D29138 #38D244
split-complementary
#3879D2 #D24438 #C6D238
monochromatic
#1A4175 #265CA7 #3879D2 #6A9BDD #9CBCE9

Accessibility & contrast

On white

4.34
#3879D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3879D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879D2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879D2#FFFFFF#000000##000000
##3879D21.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D5
Deuteranopia (green-blind)
#3273D0
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3879d2;
/* rgb */ color: rgb(56, 121, 210);
/* oklch */ color: oklch(57.9% 0.152 257.1);
Tailwind
colors: {
  custom: {
    50: '#829fe0',
    500: '#3879d2',
    950: '#000000',
  },
}
SCSS
$custom: #3879d2;
$custom-light: #829fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3879d2",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 214.675,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.1522,
    "h": 257.1
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#3879D2
secondary
#D5B891
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3879D2

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

Preview Lab → · Contrast checker → · Palette generator →

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