#4979DB#4979DB

#4979DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.159 H 262.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4979DB
RGBrgb(73, 121, 219)
HSLhsl(220, 67%, 57%)
HSVhsv(220, 67%, 86%)
CMYKcmyk(66.7%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.07, 15.30, -55.03)
CIE-LCHlch(52.07, 57.12, 285.54°)
OKLaboklab(59.19% -0.0197 -0.1574)
OKLCHoklch(59.19% 0.159 262.9)
XYZxyz(22.3667, 20.2035, 69.7250)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979DB #DBAB49
analogous
#49C2DB #4979DB #6249DB
triadic
#4979DB #DB4979 #79DB49
tetradic
#4979DB #DB49C2 #DBAB49 #49DB62
square
#4979DB #DB49C2 #DBAB49 #49DB62
split-complementary
#4979DB #DB6249 #C2DB49
monochromatic
#1C418E #2659C1 #4979DB #7C9FE5 #AFC4EF

Accessibility & contrast

On white

4.17
#4979DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4979DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979DB#FFFFFF#000000##000000
##4979DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4979db;
/* rgb */ color: rgb(73, 121, 219);
/* oklch */ color: oklch(59.2% 0.159 262.9);
Tailwind
colors: {
  custom: {
    50: '#8b9fe7',
    500: '#4979db',
    950: '#000000',
  },
}
SCSS
$custom: #4979db;
$custom-light: #8b9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4979db",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 220.274,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59187,
    "c": 0.1586,
    "h": 262.9
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#4979DB
secondary
#DDCAA2
accent
#B13EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979DB

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

Preview Lab → · Contrast checker → · Palette generator →

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