#5979CD#5979CD

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

Color values

HEX#5979CD
RGBrgb(89, 121, 205)
HSLhsl(223, 54%, 58%)
HSVhsv(223, 57%, 80%)
CMYKcmyk(56.6%, 41%, 0%, 19.6%)
CIE-LABlab(52.07, 13.47, -47.05)
CIE-LCHlch(52.07, 48.94, 285.98°)
OKLaboklab(59.15% -0.0079 -0.1336)
OKLCHoklch(59.15% 0.134 266.6)
XYZxyz(21.9729, 20.2047, 60.4878)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979CD #CDAD59
analogous
#59B3CD #5979CD #7359CD
triadic
#5979CD #CD5979 #79CD59
tetradic
#5979CD #CD59B3 #CDAD59 #59CD73
square
#5979CD #CD59B3 #CDAD59 #59CD73
split-complementary
#5979CD #CD7359 #B3CD59
monochromatic
#284184 #3658B3 #5979CD #889FDB #B7C5E9

Accessibility & contrast

On white

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

On black

5.04
#5979CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979CD#FFFFFF#000000##000000
##5979CD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#058C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5979cd;
/* rgb */ color: rgb(89, 121, 205);
/* oklch */ color: oklch(59.1% 0.134 266.6);
Tailwind
colors: {
  custom: {
    50: '#909fdd',
    500: '#5979cd',
    950: '#000000',
  },
}
SCSS
$custom: #5979cd;
$custom-light: #909fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5979cd",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 223.448,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.13388,
    "h": 266.6
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#5979CD
secondary
#D8CBAA
accent
#B54BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5979CD

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

Preview Lab → · Contrast checker → · Palette generator →

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