#4879C8#4879C8

#4879C8 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.133 H 259.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4879C8
RGBrgb(72, 121, 200)
HSLhsl(217, 54%, 53%)
HSVhsv(217, 64%, 78%)
CMYKcmyk(64%, 39.5%, 0%, 21.6%)
CIE-LABlab(50.94, 8.50, -46.04)
CIE-LCHlch(50.94, 46.82, 280.46°)
OKLaboklab(57.96% -0.0242 -0.131)
OKLCHoklch(57.96% 0.133 259.5)
XYZxyz(19.9315, 19.2207, 57.2920)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879C8 #C89748
analogous
#48B9C8 #4879C8 #5748C8
triadic
#4879C8 #C84879 #79C848
tetradic
#4879C8 #C848B9 #C89748 #48C857
square
#4879C8 #C848B9 #C89748 #48C857
split-complementary
#4879C8 #C85748 #B9C848
monochromatic
#234173 #315CA2 #4879C8 #779BD6 #A6BEE4

Accessibility & contrast

On white

4.33
#4879C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4879C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879C8#FFFFFF#000000##000000
##4879C81.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#4374C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4879c8;
/* rgb */ color: rgb(72, 121, 200);
/* oklch */ color: oklch(58.0% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#879fd9',
    500: '#4879c8',
    950: '#000000',
  },
}
SCSS
$custom: #4879c8;
$custom-light: #879fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4879c8",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 217.031,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.13321,
    "h": 259.5
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#4879C8
secondary
#D1BC9A
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4879C8

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

Preview Lab → · Contrast checker → · Palette generator →

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