#4979D5#4979D5

#4979D5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.150 H 262.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4979D5
RGBrgb(73, 121, 213)
HSLhsl(219, 63%, 56%)
HSVhsv(219, 66%, 84%)
CMYKcmyk(65.7%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.72, 13.20, -52.20)
CIE-LCHlch(51.72, 53.84, 284.19°)
OKLaboklab(58.8% -0.0208 -0.149)
OKLCHoklch(58.8% 0.15 262.1)
XYZxyz(21.5910, 19.8932, 65.6398)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979D5 #D5A549
analogous
#49BFD5 #4979D5 #5F49D5
triadic
#4979D5 #D54979 #79D549
tetradic
#4979D5 #D549BF #D5A549 #49D55F
square
#4979D5 #D549BF #D5A549 #49D55F
split-complementary
#4979D5 #D55F49 #BFD549
monochromatic
#1F4285 #2A5AB7 #4979D5 #7B9EE0 #ACC2EC

Accessibility & contrast

On white

4.22
#4979D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4979D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979D5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979D5#FFFFFF#000000##000000
##4979D51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#3675D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4979d5;
/* rgb */ color: rgb(73, 121, 213);
/* oklch */ color: oklch(58.8% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#8a9fe2',
    500: '#4979d5',
    950: '#000000',
  },
}
SCSS
$custom: #4979d5;
$custom-light: #8a9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4979d5",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 219.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.15049,
    "h": 262.1
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#4979D5
secondary
#DAC6A0
accent
#AE42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4979D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4979D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva