#3879CC#3879CC

#3879CC is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.144 H 255.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3879CC
RGBrgb(56, 121, 204)
HSLhsl(214, 59%, 51%)
HSVhsv(214, 73%, 80%)
CMYKcmyk(72.5%, 40.7%, 0%, 20%)
CIE-LABlab(50.54, 7.40, -49.01)
CIE-LCHlch(50.54, 49.56, 278.59°)
OKLaboklab(57.54% -0.0353 -0.1399)
OKLCHoklch(57.54% 0.144 255.8)
XYZxyz(19.3633, 18.8730, 59.7374)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879CC #CC8B38
analogous
#38C3CC #3879CC #4138CC
triadic
#3879CC #CC3879 #79CC38
tetradic
#3879CC #CC38C3 #CC8B38 #38CC41
square
#3879CC #CC38C3 #CC8B38 #38CC41
split-complementary
#3879CC #CC4138 #C3CC38
monochromatic
#1C406E #295C9E #3879CC #699AD8 #99BBE5

Accessibility & contrast

On white

4.40
#3879CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3879CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879CC#FFFFFF#000000##000000
##3879CC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3879cc;
/* rgb */ color: rgb(56, 121, 204);
/* oklch */ color: oklch(57.5% 0.144 255.8);
Tailwind
colors: {
  custom: {
    50: '#819fdc',
    500: '#3879cc',
    950: '#000000',
  },
}
SCSS
$custom: #3879cc;
$custom-light: #819fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3879cc",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 213.649,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.14431,
    "h": 255.8
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#3879CC
secondary
#D1B48F
accent
#9D45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3879CC

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

Preview Lab → · Contrast checker → · Palette generator →

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