#5978CD#5978CD

#5978CD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.135 H 267.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5978CD
RGBrgb(89, 120, 205)
HSLhsl(224, 54%, 58%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(56.6%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.80, 14.08, -47.49)
CIE-LCHlch(51.80, 49.53, 286.52°)
OKLaboklab(58.94% -0.0068 -0.1349)
OKLCHoklch(58.94% 0.135 267.1)
XYZxyz(21.8520, 19.9629, 60.4475)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978CD #CDAE59
analogous
#59B2CD #5978CD #7459CD
triadic
#5978CD #CD5978 #78CD59
tetradic
#5978CD #CD59B2 #CDAE59 #59CD74
square
#5978CD #CD59B2 #CDAE59 #59CD74
split-complementary
#5978CD #CD7459 #B2CD59
monochromatic
#284084 #3657B3 #5978CD #889EDB #B7C4E9

Accessibility & contrast

On white

4.21
#5978CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5978CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978CD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978CD#FFFFFF#000000##000000
##5978CD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#068B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5978cd;
/* rgb */ color: rgb(89, 120, 205);
/* oklch */ color: oklch(58.9% 0.135 267.1);
Tailwind
colors: {
  custom: {
    50: '#909edd',
    500: '#5978cd',
    950: '#000000',
  },
}
SCSS
$custom: #5978cd;
$custom-light: #909edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5978cd",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 223.966,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.1351,
    "h": 267.1
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#5978CD
secondary
#D8CCAA
accent
#B64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5978CD

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

Preview Lab → · Contrast checker → · Palette generator →

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