#5978CC#5978CC

#5978CC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.134 H 267.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5978CC
RGBrgb(89, 120, 204)
HSLhsl(224, 53%, 57%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(56.4%, 41.2%, 0%, 20%)
CIE-LABlab(51.74, 13.76, -47.00)
CIE-LCHlch(51.74, 48.98, 286.31°)
OKLaboklab(58.88% -0.007 -0.1335)
OKLCHoklch(58.88% 0.134 267)
XYZxyz(21.7317, 19.9147, 59.8138)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978CC #CCAD59
analogous
#59B1CC #5978CC #7459CC
triadic
#5978CC #CC5978 #78CC59
tetradic
#5978CC #CC59B1 #CCAD59 #59CC74
square
#5978CC #CC59B1 #CCAD59 #59CC74
split-complementary
#5978CC #CC7459 #B1CC59
monochromatic
#284083 #3658B1 #5978CC #889EDA #B7C4E9

Accessibility & contrast

On white

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

On black

4.98
#5978CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978CC#FFFFFF#000000##000000
##5978CC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#0A8A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5978cc;
/* rgb */ color: rgb(89, 120, 204);
/* oklch */ color: oklch(58.9% 0.134 267.0);
Tailwind
colors: {
  custom: {
    50: '#909edc',
    500: '#5978cc',
    950: '#000000',
  },
}
SCSS
$custom: #5978cc;
$custom-light: #909edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5978cc",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 223.826,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.1337,
    "h": 267
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5978CC

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

Preview Lab → · Contrast checker → · Palette generator →

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