#5979CC#5979CC

#5979CC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.132 H 266.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5979CC
RGBrgb(89, 121, 204)
HSLhsl(223, 53%, 57%)
HSVhsv(223, 56%, 80%)
CMYKcmyk(56.4%, 40.7%, 0%, 20%)
CIE-LABlab(52.01, 13.15, -46.57)
CIE-LCHlch(52.01, 48.39, 285.76°)
OKLaboklab(59.09% -0.0081 -0.1322)
OKLCHoklch(59.09% 0.132 266.5)
XYZxyz(21.8526, 20.1565, 59.8541)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979CC #CCAC59
analogous
#59B3CC #5979CC #7259CC
triadic
#5979CC #CC5979 #79CC59
tetradic
#5979CC #CC59B3 #CCAC59 #59CC72
square
#5979CC #CC59B3 #CCAC59 #59CC72
split-complementary
#5979CC #CC7259 #B3CC59
monochromatic
#284183 #3659B1 #5979CC #889FDA #B7C5E9

Accessibility & contrast

On white

4.17
#5979CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5979CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979CC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979CC#FFFFFF#000000##000000
##5979CC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#098B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5979cc;
/* rgb */ color: rgb(89, 121, 204);
/* oklch */ color: oklch(59.1% 0.132 266.5);
Tailwind
colors: {
  custom: {
    50: '#909fdc',
    500: '#5979cc',
    950: '#000000',
  },
}
SCSS
$custom: #5979cc;
$custom-light: #909fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5979cc",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 223.304,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.13249,
    "h": 266.5
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#5979CC
secondary
#D8CBA9
accent
#B44BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5979CC

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

Preview Lab → · Contrast checker → · Palette generator →

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