#4978DC#4978DC

#4978DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.161 H 263.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4978DC
RGBrgb(73, 120, 220)
HSLhsl(221, 68%, 57%)
HSVhsv(221, 67%, 86%)
CMYKcmyk(66.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.85, 16.27, -55.94)
CIE-LCHlch(51.85, 58.26, 286.22°)
OKLaboklab(59.04% -0.0186 -0.16)
OKLCHoklch(59.04% 0.161 263.4)
XYZxyz(22.3778, 20.0145, 70.3801)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978DC #DCAD49
analogous
#49C2DC #4978DC #6349DC
triadic
#4978DC #DC4978 #78DC49
tetradic
#4978DC #DC49C2 #DCAD49 #49DC63
square
#4978DC #DC49C2 #DCAD49 #49DC63
split-complementary
#4978DC #DC6349 #C2DC49
monochromatic
#1C408F #2558C2 #4978DC #7C9EE6 #B0C4F0

Accessibility & contrast

On white

4.20
#4978DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4978DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978DC#FFFFFF#000000##000000
##4978DC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4978dc;
/* rgb */ color: rgb(73, 120, 220);
/* oklch */ color: oklch(59.0% 0.161 263.4);
Tailwind
colors: {
  custom: {
    50: '#8b9ee7',
    500: '#4978dc',
    950: '#000000',
  },
}
SCSS
$custom: #4978dc;
$custom-light: #8b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4978dc",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 220.816,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.16112,
    "h": 263.4
  },
  "luminance": 0.20017
}

Semantic roles & 50–950 ramp

primary
#4978DC
secondary
#DECBA3
accent
#B33DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978DC

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

Preview Lab → · Contrast checker → · Palette generator →

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