#4978E4#4978E4

#4978E4 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.172 H 264.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4978E4
RGBrgb(73, 120, 228)
HSLhsl(222, 74%, 59%)
HSVhsv(222, 68%, 89%)
CMYKcmyk(68%, 47.4%, 0%, 10.6%)
CIE-LABlab(52.34, 19.08, -59.66)
CIE-LCHlch(52.34, 62.63, 287.74°)
OKLaboklab(59.57% -0.0174 -0.171)
OKLCHoklch(59.57% 0.172 264.2)
XYZxyz(23.4628, 20.4485, 76.0942)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978E4 #E4B549
analogous
#49C6E4 #4978E4 #6849E4
triadic
#4978E4 #E44978 #78E449
tetradic
#4978E4 #E449C6 #E4B549 #49E468
square
#4978E4 #E449C6 #E4B549 #49E468
split-complementary
#4978E4 #E46849 #C6E449
monochromatic
#173F9C #1F55D1 #4978E4 #7EA0EC #B4C7F4

Accessibility & contrast

On white

4.13
#4978E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4978E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978E4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978E4#FFFFFF#000000##000000
##4978E41.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4978e4;
/* rgb */ color: rgb(73, 120, 228);
/* oklch */ color: oklch(59.6% 0.172 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9eed',
    500: '#4978e4',
    950: '#000000',
  },
}
SCSS
$custom: #4978e4;
$custom-light: #8c9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#4978e4",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 221.806,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.17187,
    "h": 264.2
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#4978E4
secondary
#E3D0A6
accent
#B837F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978E4

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

Preview Lab → · Contrast checker → · Palette generator →

#4978E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva