#4879D7#4879D7

#4879D7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.154 H 262.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4879D7
RGBrgb(72, 121, 215)
HSLhsl(219, 64%, 56%)
HSVhsv(219, 67%, 84%)
CMYKcmyk(66.5%, 43.7%, 0%, 15.7%)
CIE-LABlab(51.79, 13.74, -53.22)
CIE-LCHlch(51.79, 54.96, 284.47°)
OKLaboklab(58.89% -0.0212 -0.1521)
OKLCHoklch(58.89% 0.154 262)
XYZxyz(21.7713, 19.9566, 66.9815)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D7 #D7A648
analogous
#48C0D7 #4879D7 #5F48D7
triadic
#4879D7 #D74879 #79D748
tetradic
#4879D7 #D748C0 #D7A648 #48D75F
square
#4879D7 #D748C0 #D7A648 #48D75F
split-complementary
#4879D7 #D75F48 #C0D748
monochromatic
#1E4287 #295AB9 #4879D7 #7A9EE2 #ACC3ED

Accessibility & contrast

On white

4.21
#4879D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4879D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D7#FFFFFF#000000##000000
##4879D71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4879d7;
/* rgb */ color: rgb(72, 121, 215);
/* oklch */ color: oklch(58.9% 0.154 262.0);
Tailwind
colors: {
  custom: {
    50: '#8a9fe4',
    500: '#4879d7',
    950: '#000000',
  },
}
SCSS
$custom: #4879d7;
$custom-light: #8a9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d7",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 219.441,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.15354,
    "h": 262
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#4879D7
secondary
#DBC7A0
accent
#AE41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4879D7

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

Preview Lab → · Contrast checker → · Palette generator →

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