#4978D9#4978D9

#4978D9 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.157 H 263.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4978D9
RGBrgb(73, 120, 217)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 66%, 85%)
CMYKcmyk(66.4%, 44.7%, 0%, 14.9%)
CIE-LABlab(51.68, 15.22, -54.53)
CIE-LCHlch(51.68, 56.61, 285.59°)
OKLaboklab(58.85% -0.0191 -0.1559)
OKLCHoklch(58.85% 0.157 263)
XYZxyz(21.9841, 19.8570, 68.3064)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978D9 #D9AA49
analogous
#49C0D9 #4978D9 #6249D9
triadic
#4978D9 #D94978 #78D949
tetradic
#4978D9 #D949C0 #D9AA49 #49D962
square
#4978D9 #D949C0 #D9AA49 #49D962
split-complementary
#4978D9 #D96249 #C0D949
monochromatic
#1D418B #2858BD #4978D9 #7C9EE4 #AEC3EE

Accessibility & contrast

On white

4.22
#4978D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4978D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978D9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978D9#FFFFFF#000000##000000
##4978D91.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DD
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4978d9;
/* rgb */ color: rgb(73, 120, 217);
/* oklch */ color: oklch(58.8% 0.157 263.0);
Tailwind
colors: {
  custom: {
    50: '#8a9ee5',
    500: '#4978d9',
    950: '#000000',
  },
}
SCSS
$custom: #4978d9;
$custom-light: #8a9ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4978d9",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 220.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58848,
    "c": 0.15707,
    "h": 263
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#4978D9
secondary
#DCC9A2
accent
#B13FE8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978D9

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

Preview Lab → · Contrast checker → · Palette generator →

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