#4979CC#4979CC

#4979CC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.138 H 260.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4979CC
RGBrgb(73, 121, 204)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(64.2%, 40.7%, 0%, 20%)
CIE-LABlab(51.21, 10.07, -47.90)
CIE-LCHlch(51.21, 48.95, 281.87°)
OKLaboklab(58.25% -0.0225 -0.1364)
OKLCHoklch(58.25% 0.138 260.6)
XYZxyz(20.4803, 19.4489, 59.7897)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4979CC #CC9C49
analogous
#49BBCC #4979CC #5B49CC
triadic
#4979CC #CC4979 #79CC49
tetradic
#4979CC #CC49BB #CC9C49 #49CC5B
square
#4979CC #CC49BB #CC9C49 #49CC5B
split-complementary
#4979CC #CC5B49 #BBCC49
monochromatic
#224279 #2F5CA9 #4979CC #799CD9 #A9BFE7

Accessibility & contrast

On white

4.29
#4979CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4979CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4979CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4979CC#FFFFFF#000000##000000
##4979CC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4979cc;
/* rgb */ color: rgb(73, 121, 204);
/* oklch */ color: oklch(58.2% 0.138 260.6);
Tailwind
colors: {
  custom: {
    50: '#889fdc',
    500: '#4979cc',
    950: '#000000',
  },
}
SCSS
$custom: #4979cc;
$custom-light: #889fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4979cc",
  "rgb": {
    "r": 73,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 218.015,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.13827,
    "h": 260.6
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4979CC

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

Preview Lab → · Contrast checker → · Palette generator →

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