#4979DC#4979DC

#4979DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.160 H 263.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4979DC
RGBrgb(73, 121, 220)
HSLhsl(220, 68%, 57%)
HSVhsv(220, 67%, 86%)
CMYKcmyk(66.8%, 45%, 0%, 13.7%)
CIE-LABlab(52.13, 15.65, -55.50)
CIE-LCHlch(52.13, 57.67, 285.75°)
OKLaboklab(59.25% -0.0196 -0.1587)
OKLCHoklch(59.25% 0.16 263)
XYZxyz(22.4987, 20.2563, 70.4204)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979DC #DCAC49
analogous
#49C3DC #4979DC #6249DC
triadic
#4979DC #DC4979 #79DC49
tetradic
#4979DC #DC49C3 #DCAC49 #49DC62
square
#4979DC #DC49C3 #DCAC49 #49DC62
split-complementary
#4979DC #DC6249 #C3DC49
monochromatic
#1C418F #2559C2 #4979DC #7C9FE6 #B0C5F0

Accessibility & contrast

On white

4.16
#4979DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4979DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979DC#FFFFFF#000000##000000
##4979DC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4979dc;
/* rgb */ color: rgb(73, 121, 220);
/* oklch */ color: oklch(59.3% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#8b9fe7',
    500: '#4979dc',
    950: '#000000',
  },
}
SCSS
$custom: #4979dc;
$custom-light: #8b9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4979dc",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 220.408,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.15994,
    "h": 263
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#4979DC
secondary
#DECBA3
accent
#B23DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979DC

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

Preview Lab → · Contrast checker → · Palette generator →

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