#3879DF#3879DF

#3879DF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.169 H 259.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3879DF
RGBrgb(56, 121, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 75%, 87%)
CMYKcmyk(74.9%, 45.7%, 0%, 12.5%)
CIE-LABlab(51.66, 14.36, -57.98)
CIE-LCHlch(51.66, 59.73, 283.91°)
OKLaboklab(58.77% -0.0316 -0.1663)
OKLCHoklch(58.77% 0.169 259.2)
XYZxyz(21.7827, 19.8407, 72.4794)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3879DF #DF9E38
analogous
#38CCDF #3879DF #4B38DF
triadic
#3879DF #DF3879 #79DF38
tetradic
#3879DF #DF38CC #DF9E38 #38DF4B
square
#3879DF #DF38CC #DF9E38 #38DF4B
split-complementary
#3879DF #DF4B38 #CCDF38
monochromatic
#164287 #1E5BBC #3879DF #6D9DE7 #A1C0F0

Accessibility & contrast

On white

4.23
#3879DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3879DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3879DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3879DF#FFFFFF#000000##000000
##3879DF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#1B74DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3879df;
/* rgb */ color: rgb(56, 121, 223);
/* oklch */ color: oklch(58.8% 0.169 259.2);
Tailwind
colors: {
  custom: {
    50: '#859fea',
    500: '#3879df',
    950: '#000000',
  },
}
SCSS
$custom: #3879df;
$custom-light: #859fea;
$custom-dark: #000000;
JSON
{
  "hex": "#3879df",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 216.647,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.16929,
    "h": 259.2
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#3879DF
secondary
#DDC196
accent
#A839EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3879DF

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

Preview Lab → · Contrast checker → · Palette generator →

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