#4978E5#4978E5

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

Color values

HEX#4978E5
RGBrgb(73, 120, 229)
HSLhsl(222, 75%, 59%)
HSVhsv(222, 68%, 90%)
CMYKcmyk(68.1%, 47.6%, 0%, 10.2%)
CIE-LABlab(52.40, 19.43, -60.12)
CIE-LCHlch(52.40, 63.18, 287.91°)
OKLaboklab(59.64% -0.0173 -0.1723)
OKLCHoklch(59.64% 0.173 264.3)
XYZxyz(23.6020, 20.5042, 76.8274)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978E5 #E5B649
analogous
#49C6E5 #4978E5 #6849E5
triadic
#4978E5 #E54978 #78E549
tetradic
#4978E5 #E549C6 #E5B649 #49E568
square
#4978E5 #E549C6 #E5B649 #49E568
split-complementary
#4978E5 #E56849 #C6E549
monochromatic
#163F9D #1E55D3 #4978E5 #7FA0ED #B4C7F4

Accessibility & contrast

On white

4.12
#4978E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4978E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978E5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978E5#FFFFFF#000000##000000
##4978E51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85E9
Deuteranopia (green-blind)
#1576E3
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4978e5;
/* rgb */ color: rgb(73, 120, 229);
/* oklch */ color: oklch(59.6% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#8c9eee',
    500: '#4978e5',
    950: '#000000',
  },
}
SCSS
$custom: #4978e5;
$custom-light: #8c9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4978e5",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 221.923,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59639,
    "c": 0.17321,
    "h": 264.3
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#4978E5
secondary
#E3D1A6
accent
#B936F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978E5

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

Preview Lab → · Contrast checker → · Palette generator →

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