#4879C2#4879C2

#4879C2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.6% C 0.125 H 258.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4879C2
RGBrgb(72, 121, 194)
HSLhsl(216, 50%, 52%)
HSVhsv(216, 63%, 76%)
CMYKcmyk(62.9%, 37.6%, 0%, 23.9%)
CIE-LABlab(50.62, 6.43, -43.12)
CIE-LCHlch(50.62, 43.60, 278.48°)
OKLaboklab(57.61% -0.0256 -0.1224)
OKLCHoklch(57.61% 0.125 258.2)
XYZxyz(19.2440, 18.9457, 53.6712)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879C2 #C29148
analogous
#48B6C2 #4879C2 #5448C2
triadic
#4879C2 #C24879 #79C248
tetradic
#4879C2 #C248B6 #C29148 #48C254
square
#4879C2 #C248B6 #C29148 #48C254
split-complementary
#4879C2 #C25448 #B6C248
monochromatic
#24416C #335C9A #4879C2 #769BD1 #A4BCE1

Accessibility & contrast

On white

4.38
#4879C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4879C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879C2#FFFFFF#000000##000000
##4879C21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4879c2;
/* rgb */ color: rgb(72, 121, 194);
/* oklch */ color: oklch(57.6% 0.125 258.2);
Tailwind
colors: {
  custom: {
    50: '#869fd5',
    500: '#4879c2',
    950: '#000000',
  },
}
SCSS
$custom: #4879c2;
$custom-light: #869fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4879c2",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 215.902,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.12509,
    "h": 258.2
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#4879C2
secondary
#CEB898
accent
#A24EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4879C2

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

Preview Lab → · Contrast checker → · Palette generator →

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