#4979D8#4979D8

#4979D8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.155 H 262.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4979D8
RGBrgb(73, 121, 216)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(66.2%, 44%, 0%, 15.3%)
CIE-LABlab(51.89, 14.25, -53.62)
CIE-LCHlch(51.89, 55.48, 284.88°)
OKLaboklab(58.99% -0.0202 -0.1532)
OKLCHoklch(58.99% 0.155 262.5)
XYZxyz(21.9753, 20.0469, 67.6638)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979D8 #D8A849
analogous
#49C1D8 #4979D8 #6149D8
triadic
#4979D8 #D84979 #79D849
tetradic
#4979D8 #D849C1 #D8A849 #49D861
square
#4979D8 #D849C1 #D8A849 #49D861
split-complementary
#4979D8 #D86149 #C1D849
monochromatic
#1D4289 #285ABC #4979D8 #7B9EE3 #AEC3EE

Accessibility & contrast

On white

4.19
#4979D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4979D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979D8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979D8#FFFFFF#000000##000000
##4979D81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#3276D6
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4979d8;
/* rgb */ color: rgb(73, 121, 216);
/* oklch */ color: oklch(59.0% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9fe4',
    500: '#4979d8',
    950: '#000000',
  },
}
SCSS
$custom: #4979d8;
$custom-light: #8a9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4979d8",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 219.86,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.15455,
    "h": 262.5
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#4979D8
secondary
#DCC8A1
accent
#AF40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979D8

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

Preview Lab → · Contrast checker → · Palette generator →

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