#4979D9#4979D9

#4979D9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.156 H 262.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4979D9
RGBrgb(73, 121, 217)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(66.4%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.95, 14.60, -54.09)
CIE-LCHlch(51.95, 56.03, 285.11°)
OKLaboklab(59.06% -0.0201 -0.1546)
OKLCHoklch(59.06% 0.156 262.6)
XYZxyz(22.1050, 20.0988, 68.3467)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979D9 #D9A949
analogous
#49C1D9 #4979D9 #6149D9
triadic
#4979D9 #D94979 #79D949
tetradic
#4979D9 #D949C1 #D9A949 #49D961
square
#4979D9 #D949C1 #D9A949 #49D961
split-complementary
#4979D9 #D96149 #C1D949
monochromatic
#1D428B #2859BD #4979D9 #7C9EE4 #AEC4EE

Accessibility & contrast

On white

4.18
#4979D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4979D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979D9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979D9#FFFFFF#000000##000000
##4979D91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4979d9;
/* rgb */ color: rgb(73, 121, 217);
/* oklch */ color: oklch(59.1% 0.156 262.6);
Tailwind
colors: {
  custom: {
    50: '#8a9fe5',
    500: '#4979d9',
    950: '#000000',
  },
}
SCSS
$custom: #4979d9;
$custom-light: #8a9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4979d9",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 220,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.1559,
    "h": 262.6
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#4979D9
secondary
#DCC9A2
accent
#B03FE8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979D9

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

Preview Lab → · Contrast checker → · Palette generator →

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