#4879D0#4879D0

#4879D0 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.144 H 261.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4879D0
RGBrgb(72, 121, 208)
HSLhsl(218, 59%, 55%)
HSVhsv(218, 65%, 82%)
CMYKcmyk(65.4%, 41.8%, 0%, 18.4%)
CIE-LABlab(51.39, 11.29, -49.89)
CIE-LCHlch(51.39, 51.15, 282.75°)
OKLaboklab(58.45% -0.0225 -0.1423)
OKLCHoklch(58.45% 0.144 261)
XYZxyz(20.8910, 19.6045, 62.3454)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D0 #D09F48
analogous
#48BDD0 #4879D0 #5B48D0
triadic
#4879D0 #D04879 #79D048
tetradic
#4879D0 #D048BD #D09F48 #48D05B
square
#4879D0 #D048BD #D09F48 #48D05B
split-complementary
#4879D0 #D05B48 #BDD048
monochromatic
#20427D #2D5BAE #4879D0 #799DDD #A9C0E9

Accessibility & contrast

On white

4.27
#4879D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4879D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D0#FFFFFF#000000##000000
##4879D01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879d0;
/* rgb */ color: rgb(72, 121, 208);
/* oklch */ color: oklch(58.4% 0.144 261.0);
Tailwind
colors: {
  custom: {
    50: '#889fdf',
    500: '#4879d0',
    950: '#000000',
  },
}
SCSS
$custom: #4879d0;
$custom-light: #889fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d0",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 208
  },
  "hsl": {
    "h": 218.382,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.14407,
    "h": 261
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#4879D0
secondary
#D7C29D
accent
#AA45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4879D0

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

Preview Lab → · Contrast checker → · Palette generator →

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