#3879DD#3879DD

#3879DD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.167 H 258.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3879DD
RGBrgb(56, 121, 221)
HSLhsl(216, 71%, 54%)
HSVhsv(216, 75%, 87%)
CMYKcmyk(74.7%, 45.2%, 0%, 13.3%)
CIE-LABlab(51.53, 13.62, -57.05)
CIE-LCHlch(51.53, 58.65, 283.43°)
OKLaboklab(58.64% -0.032 -0.1636)
OKLCHoklch(58.64% 0.167 258.9)
XYZxyz(21.5147, 19.7335, 71.0677)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879DD #DD9C38
analogous
#38CBDD #3879DD #4A38DD
triadic
#3879DD #DD3879 #79DD38
tetradic
#3879DD #DD38CB #DD9C38 #38DD4A
square
#3879DD #DD38CB #DD9C38 #38DD4A
split-complementary
#3879DD #DD4A38 #CBDD38
monochromatic
#174284 #1F5CB8 #3879DD #6C9CE6 #A1BFEF

Accessibility & contrast

On white

4.24
#3879DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#3879DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879DD#FFFFFF#000000##000000
##3879DD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#2074DB
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3879dd;
/* rgb */ color: rgb(56, 121, 221);
/* oklch */ color: oklch(58.6% 0.167 258.9);
Tailwind
colors: {
  custom: {
    50: '#849fe8',
    500: '#3879dd',
    950: '#000000',
  },
}
SCSS
$custom: #3879dd;
$custom-light: #849fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#3879dd",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 216.364,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.16666,
    "h": 258.9
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#3879DD
secondary
#DBC095
accent
#A73AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3879DD

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

Preview Lab → · Contrast checker → · Palette generator →

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