#4978CC#4978CC

#4978CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.139 H 261.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4978CC
RGBrgb(73, 120, 204)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(64.2%, 41.2%, 0%, 20%)
CIE-LABlab(50.93, 10.68, -48.35)
CIE-LCHlch(50.93, 49.51, 282.46°)
OKLaboklab(58.03% -0.0215 -0.1377)
OKLCHoklch(58.03% 0.139 261.1)
XYZxyz(20.3594, 19.2071, 59.7494)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4978CC #CC9D49
analogous
#49BACC #4978CC #5C49CC
triadic
#4978CC #CC4978 #78CC49
tetradic
#4978CC #CC49BA #CC9D49 #49CC5C
square
#4978CC #CC49BA #CC9D49 #49CC5C
split-complementary
#4978CC #CC5C49 #BACC49
monochromatic
#224179 #2F5BA9 #4978CC #799BD9 #A9BFE7

Accessibility & contrast

On white

4.34
#4978CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4978CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4978CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4978CC#FFFFFF#000000##000000
##4978CC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4978cc;
/* rgb */ color: rgb(73, 120, 204);
/* oklch */ color: oklch(58.0% 0.139 261.1);
Tailwind
colors: {
  custom: {
    50: '#889edc',
    500: '#4978cc',
    950: '#000000',
  },
}
SCSS
$custom: #4978cc;
$custom-light: #889edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4978cc",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 218.473,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58031,
    "c": 0.13941,
    "h": 261.1
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#4978CC
secondary
#D4C09D
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4978CC

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

Preview Lab → · Contrast checker → · Palette generator →

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