#4879D4#4879D4

#4879D4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.149 H 261.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4879D4
RGBrgb(72, 121, 212)
HSLhsl(219, 62%, 56%)
HSVhsv(219, 66%, 83%)
CMYKcmyk(66%, 42.9%, 0%, 16.9%)
CIE-LABlab(51.61, 12.69, -51.80)
CIE-LCHlch(51.61, 53.33, 283.76°)
OKLaboklab(58.7% -0.0218 -0.1479)
OKLCHoklch(58.7% 0.149 261.6)
XYZxyz(21.3893, 19.8038, 64.9699)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D4 #D4A348
analogous
#48BFD4 #4879D4 #5D48D4
triadic
#4879D4 #D44879 #79D448
tetradic
#4879D4 #D448BF #D4A348 #48D45D
square
#4879D4 #D448BF #D4A348 #48D45D
split-complementary
#4879D4 #D45D48 #BFD448
monochromatic
#1F4283 #2A5BB4 #4879D4 #7A9DE0 #ABC2EB

Accessibility & contrast

On white

4.23
#4879D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4879D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D4#FFFFFF#000000##000000
##4879D41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4879d4;
/* rgb */ color: rgb(72, 121, 212);
/* oklch */ color: oklch(58.7% 0.149 261.6);
Tailwind
colors: {
  custom: {
    50: '#899fe2',
    500: '#4879d4',
    950: '#000000',
  },
}
SCSS
$custom: #4879d4;
$custom-light: #899fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d4",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 219,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.14948,
    "h": 261.6
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#4879D4
secondary
#D9C59F
accent
#AC43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4879D4

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

Preview Lab → · Contrast checker → · Palette generator →

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