#4979E4#4979E4

#4979E4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.171 H 263.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4979E4
RGBrgb(73, 121, 228)
HSLhsl(221, 74%, 59%)
HSVhsv(221, 68%, 89%)
CMYKcmyk(68%, 46.9%, 0%, 10.6%)
CIE-LABlab(52.61, 18.46, -59.22)
CIE-LCHlch(52.61, 62.04, 287.32°)
OKLaboklab(59.78% -0.0183 -0.1697)
OKLCHoklch(59.78% 0.171 263.8)
XYZxyz(23.5837, 20.6903, 76.1345)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979E4 #E4B449
analogous
#49C7E4 #4979E4 #6749E4
triadic
#4979E4 #E44979 #79E449
tetradic
#4979E4 #E449C7 #E4B449 #49E467
square
#4979E4 #E449C7 #E4B449 #49E467
split-complementary
#4979E4 #E46749 #C7E449
monochromatic
#17409C #1F56D1 #4979E4 #7EA0EC #B4C7F4

Accessibility & contrast

On white

4.09
#4979E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4979E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979E4#FFFFFF#000000##000000
##4979E41.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4979e4;
/* rgb */ color: rgb(73, 121, 228);
/* oklch */ color: oklch(59.8% 0.171 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9fed',
    500: '#4979e4',
    950: '#000000',
  },
}
SCSS
$custom: #4979e4;
$custom-light: #8c9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4979e4",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 221.419,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.17069,
    "h": 263.8
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#4979E4
secondary
#E3D0A6
accent
#B737F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979E4

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

Preview Lab → · Contrast checker → · Palette generator →

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