#3879D3#3879D3

#3879D3 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 58.0% C 0.154 H 257.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3879D3
RGBrgb(56, 121, 211)
HSLhsl(215, 64%, 52%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(73.5%, 42.7%, 0%, 17.3%)
CIE-LABlab(50.94, 9.96, -52.35)
CIE-LCHlch(50.94, 53.29, 280.77°)
OKLaboklab(57.98% -0.0338 -0.1497)
OKLCHoklch(57.98% 0.154 257.3)
XYZxyz(20.2218, 19.2164, 64.2588)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879D3 #D39238
analogous
#38C6D3 #3879D3 #4538D3
triadic
#3879D3 #D33879 #79D338
tetradic
#3879D3 #D338C6 #D39238 #38D345
square
#3879D3 #D338C6 #D39238 #38D345
split-complementary
#3879D3 #D34538 #C6D338
monochromatic
#1A4176 #255CA9 #3879D3 #6A9BDE #9CBCE9

Accessibility & contrast

On white

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

On black

4.84
#3879D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879D3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879D3#FFFFFF#000000##000000
##3879D31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#3173D1
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3879d3;
/* rgb */ color: rgb(56, 121, 211);
/* oklch */ color: oklch(58.0% 0.154 257.3);
Tailwind
colors: {
  custom: {
    50: '#829fe1',
    500: '#3879d3',
    950: '#000000',
  },
}
SCSS
$custom: #3879d3;
$custom-light: #829fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#3879d3",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 214.839,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.15352,
    "h": 257.3
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#3879D3
secondary
#D5B992
accent
#A141E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3879D3

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

Preview Lab → · Contrast checker → · Palette generator →

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