#4979E1#4979E1

#4979E1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.167 H 263.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4979E1
RGBrgb(73, 121, 225)
HSLhsl(221, 72%, 58%)
HSVhsv(221, 68%, 88%)
CMYKcmyk(67.6%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.43, 17.41, -57.83)
CIE-LCHlch(52.43, 60.40, 286.75°)
OKLaboklab(59.58% -0.0188 -0.1656)
OKLCHoklch(59.58% 0.167 263.5)
XYZxyz(23.1708, 20.5251, 73.9602)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979E1 #E1B149
analogous
#49C5E1 #4979E1 #6549E1
triadic
#4979E1 #E14979 #79E149
tetradic
#4979E1 #E149C5 #E1B149 #49E165
square
#4979E1 #E149C5 #E1B149 #49E165
split-complementary
#4979E1 #E16549 #C5E149
monochromatic
#194197 #2257CB #4979E1 #7EA0EA #B2C6F2

Accessibility & contrast

On white

4.11
#4979E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4979E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979E1#FFFFFF#000000##000000
##4979E11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4979e1;
/* rgb */ color: rgb(73, 121, 225);
/* oklch */ color: oklch(59.6% 0.167 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9feb',
    500: '#4979e1',
    950: '#000000',
  },
}
SCSS
$custom: #4979e1;
$custom-light: #8c9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4979e1",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 221.053,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.16667,
    "h": 263.5
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#4979E1
secondary
#E1CEA5
accent
#B539EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4979E1

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

Preview Lab → · Contrast checker → · Palette generator →

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