#4879D2#4879D2

#4879D2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.147 H 261.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4879D2
RGBrgb(72, 121, 210)
HSLhsl(219, 61%, 55%)
HSVhsv(219, 66%, 82%)
CMYKcmyk(65.7%, 42.4%, 0%, 17.6%)
CIE-LABlab(51.50, 11.98, -50.85)
CIE-LCHlch(51.50, 52.24, 283.26°)
OKLaboklab(58.57% -0.0222 -0.1451)
OKLCHoklch(58.57% 0.147 261.3)
XYZxyz(21.1386, 19.7036, 63.6494)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D2 #D2A148
analogous
#48BED2 #4879D2 #5C48D2
triadic
#4879D2 #D24879 #79D248
tetradic
#4879D2 #D248BE #D2A148 #48D25C
square
#4879D2 #D248BE #D2A148 #48D25C
split-complementary
#4879D2 #D25C48 #BED248
monochromatic
#204280 #2C5BB1 #4879D2 #799DDE #AAC1EA

Accessibility & contrast

On white

4.25
#4879D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4879D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D2#FFFFFF#000000##000000
##4879D21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D5
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4879d2;
/* rgb */ color: rgb(72, 121, 210);
/* oklch */ color: oklch(58.6% 0.147 261.3);
Tailwind
colors: {
  custom: {
    50: '#899fe0',
    500: '#4879d2',
    950: '#000000',
  },
}
SCSS
$custom: #4879d2;
$custom-light: #899fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d2",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 218.696,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.14677,
    "h": 261.3
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#4879D2
secondary
#D8C39E
accent
#AB44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4879D2

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

Preview Lab → · Contrast checker → · Palette generator →

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