#4978DD#4978DD

#4978DD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.162 H 263.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4978DD
RGBrgb(73, 120, 221)
HSLhsl(221, 69%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(67%, 45.7%, 0%, 13.3%)
CIE-LABlab(51.91, 16.62, -56.40)
CIE-LCHlch(51.91, 58.80, 286.42°)
OKLaboklab(59.11% -0.0185 -0.1614)
OKLCHoklch(59.11% 0.162 263.5)
XYZxyz(22.5107, 20.0676, 71.0797)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978DD #DDAE49
analogous
#49C2DD #4978DD #6449DD
triadic
#4978DD #DD4978 #78DD49
tetradic
#4978DD #DD49C2 #DDAE49 #49DD64
square
#4978DD #DD49C2 #DDAE49 #49DD64
split-complementary
#4978DD #DD6449 #C2DD49
monochromatic
#1B4091 #2557C4 #4978DD #7D9EE7 #B0C4F0

Accessibility & contrast

On white

4.19
#4978DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4978DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978DD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978DD#FFFFFF#000000##000000
##4978DD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4978dd;
/* rgb */ color: rgb(73, 120, 221);
/* oklch */ color: oklch(59.1% 0.162 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9ee8',
    500: '#4978dd',
    950: '#000000',
  },
}
SCSS
$custom: #4978dd;
$custom-light: #8b9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4978dd",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 220.946,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.16247,
    "h": 263.5
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#4978DD
secondary
#DFCCA3
accent
#B43CEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4978DD

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

Preview Lab → · Contrast checker → · Palette generator →

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