#3879CB#3879CB

#3879CB is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.5% C 0.143 H 255.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3879CB
RGBrgb(56, 121, 203)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(72.4%, 40.4%, 0%, 20.4%)
CIE-LABlab(50.48, 7.04, -48.53)
CIE-LCHlch(50.48, 49.04, 278.25°)
OKLaboklab(57.48% -0.0355 -0.1385)
OKLCHoklch(57.48% 0.143 255.6)
XYZxyz(19.2438, 18.8252, 59.1078)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879CB #CB8A38
analogous
#38C3CB #3879CB #4038CB
triadic
#3879CB #CB3879 #79CB38
tetradic
#3879CB #CB38C3 #CB8A38 #38CB40
square
#3879CB #CB38C3 #CB8A38 #38CB40
split-complementary
#3879CB #CB4038 #C3CB38
monochromatic
#1C406C #295C9D #3879CB #699AD8 #99BAE4

Accessibility & contrast

On white

4.41
#3879CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3879CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879CB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879CB#FFFFFF#000000##000000
##3879CB1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3879cb;
/* rgb */ color: rgb(56, 121, 203);
/* oklch */ color: oklch(57.5% 0.143 255.6);
Tailwind
colors: {
  custom: {
    50: '#819fdb',
    500: '#3879cb',
    950: '#000000',
  },
}
SCSS
$custom: #3879cb;
$custom-light: #819fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3879cb",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 213.469,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.143,
    "h": 255.6
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#3879CB
secondary
#D0B38F
accent
#9D46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3879CB

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

Preview Lab → · Contrast checker → · Palette generator →

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