#4978E7#4978E7

#4978E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.176 H 264.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4978E7
RGBrgb(73, 120, 231)
HSLhsl(222, 77%, 60%)
HSVhsv(222, 68%, 91%)
CMYKcmyk(68.4%, 48.1%, 0%, 9.4%)
CIE-LABlab(52.53, 20.14, -61.04)
CIE-LCHlch(52.53, 64.27, 288.26°)
OKLaboklab(59.78% -0.017 -0.175)
OKLCHoklch(59.78% 0.176 264.4)
XYZxyz(23.8829, 20.6165, 78.3065)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978E7 #E7B849
analogous
#49C7E7 #4978E7 #6949E7
triadic
#4978E7 #E74978 #78E749
tetradic
#4978E7 #E749C7 #E7B849 #49E769
square
#4978E7 #E749C7 #E7B849 #49E769
split-complementary
#4978E7 #E76949 #C7E749
monochromatic
#153FA0 #1C54D7 #4978E7 #7FA0EE #B5C8F5

Accessibility & contrast

On white

4.10
#4978E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4978E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978E7#FFFFFF#000000##000000
##4978E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#0D77E5
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4978e7;
/* rgb */ color: rgb(73, 120, 231);
/* oklch */ color: oklch(59.8% 0.176 264.4);
Tailwind
colors: {
  custom: {
    50: '#8d9eef',
    500: '#4978e7',
    950: '#000000',
  },
}
SCSS
$custom: #4978e7;
$custom-light: #8d9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#4978e7",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 222.152,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.17588,
    "h": 264.4
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#4978E7
secondary
#E5D2A7
accent
#BB35F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4978E7

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

Preview Lab → · Contrast checker → · Palette generator →

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