#4979DF#4979DF

#4979DF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.164 H 263.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4979DF
RGBrgb(73, 121, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(67.3%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.31, 16.71, -56.90)
CIE-LCHlch(52.31, 59.30, 286.36°)
OKLaboklab(59.45% -0.0191 -0.1629)
OKLCHoklch(59.45% 0.164 263.3)
XYZxyz(22.8996, 20.4167, 72.5317)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979DF #DFAF49
analogous
#49C4DF #4979DF #6449DF
triadic
#4979DF #DF4979 #79DF49
tetradic
#4979DF #DF49C4 #DFAF49 #49DF64
square
#4979DF #DF49C4 #DFAF49 #49DF64
split-complementary
#4979DF #DF6449 #C4DF49
monochromatic
#1A4194 #2358C8 #4979DF #7D9FE8 #B1C6F1

Accessibility & contrast

On white

4.13
#4979DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4979DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979DF#FFFFFF#000000##000000
##4979DF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4979df;
/* rgb */ color: rgb(73, 121, 223);
/* oklch */ color: oklch(59.4% 0.164 263.3);
Tailwind
colors: {
  custom: {
    50: '#8b9fe9',
    500: '#4979df',
    950: '#000000',
  },
}
SCSS
$custom: #4979df;
$custom-light: #8b9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4979df",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 220.8,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.16398,
    "h": 263.3
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#4979DF
secondary
#E0CDA4
accent
#B43BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979DF

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

Preview Lab → · Contrast checker → · Palette generator →

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