#4979EC#4979EC

#4979EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.181 H 264.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4979EC
RGBrgb(73, 121, 236)
HSLhsl(222, 81%, 61%)
HSVhsv(222, 69%, 93%)
CMYKcmyk(69.1%, 48.7%, 0%, 7.5%)
CIE-LABlab(53.11, 21.28, -62.90)
CIE-LCHlch(53.11, 66.40, 288.69°)
OKLaboklab(60.32% -0.0173 -0.1805)
OKLCHoklch(60.32% 0.181 264.5)
XYZxyz(24.7200, 21.1448, 82.1192)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979EC #ECBC49
analogous
#49CBEC #4979EC #6A49EC
triadic
#4979EC #EC4979 #79EC49
tetradic
#4979EC #EC49CB #ECBC49 #49EC6A
square
#4979EC #EC49CB #ECBC49 #49EC6A
split-complementary
#4979EC #EC6A49 #CBEC49
monochromatic
#123EA9 #1753E0 #4979EC #80A2F2 #B8CBF8

Accessibility & contrast

On white

4.02
#4979EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4979EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979EC#FFFFFF#000000##000000
##4979EC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4979ec;
/* rgb */ color: rgb(73, 121, 236);
/* oklch */ color: oklch(60.3% 0.181 264.5);
Tailwind
colors: {
  custom: {
    50: '#8e9ff3',
    500: '#4979ec',
    950: '#000000',
  },
}
SCSS
$custom: #4979ec;
$custom-light: #8e9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4979ec",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 222.331,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.18134,
    "h": 264.5
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#4979EC
secondary
#E7D5A9
accent
#9F08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4979EC

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

Preview Lab → · Contrast checker → · Palette generator →

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