#4879D6#4879D6

#4879D6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.152 H 261.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4879D6
RGBrgb(72, 121, 214)
HSLhsl(219, 63%, 56%)
HSVhsv(219, 66%, 84%)
CMYKcmyk(66.4%, 43.5%, 0%, 16.1%)
CIE-LABlab(51.73, 13.39, -52.75)
CIE-LCHlch(51.73, 54.42, 284.24°)
OKLaboklab(58.82% -0.0214 -0.1507)
OKLCHoklch(58.82% 0.152 261.9)
XYZxyz(21.6432, 19.9054, 66.3068)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D6 #D6A548
analogous
#48C0D6 #4879D6 #5E48D6
triadic
#4879D6 #D64879 #79D648
tetradic
#4879D6 #D648C0 #D6A548 #48D65E
square
#4879D6 #D648C0 #D6A548 #48D65E
split-complementary
#4879D6 #D65E48 #C0D648
monochromatic
#1E4286 #295AB8 #4879D6 #7A9EE1 #ACC2EC

Accessibility & contrast

On white

4.22
#4879D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4879D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D6#FFFFFF#000000##000000
##4879D61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82DA
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4879d6;
/* rgb */ color: rgb(72, 121, 214);
/* oklch */ color: oklch(58.8% 0.152 261.9);
Tailwind
colors: {
  custom: {
    50: '#899fe3',
    500: '#4879d6',
    950: '#000000',
  },
}
SCSS
$custom: #4879d6;
$custom-light: #899fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d6",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 219.296,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.15218,
    "h": 261.9
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#4879D6
secondary
#DAC6A0
accent
#AD41E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4879D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4879D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva