#5978CA#5978CA

#5978CA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.131 H 266.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5978CA
RGBrgb(89, 120, 202)
HSLhsl(224, 52%, 57%)
HSVhsv(224, 56%, 79%)
CMYKcmyk(55.9%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.63, 13.10, -46.04)
CIE-LCHlch(51.63, 47.87, 285.89°)
OKLaboklab(58.76% -0.0074 -0.1307)
OKLCHoklch(58.76% 0.131 266.8)
XYZxyz(21.4934, 19.8194, 58.5586)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978CA #CAAB59
analogous
#59B0CA #5978CA #7359CA
triadic
#5978CA #CA5978 #78CA59
tetradic
#5978CA #CA59B0 #CAAB59 #59CA73
square
#5978CA #CA59B0 #CAAB59 #59CA73
split-complementary
#5978CA #CA7359 #B0CA59
monochromatic
#294180 #3858AE #5978CA #879ED9 #B6C3E8

Accessibility & contrast

On white

4.23
#5978CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5978CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978CA#FFFFFF#000000##000000
##5978CA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#118A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5978ca;
/* rgb */ color: rgb(89, 120, 202);
/* oklch */ color: oklch(58.8% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#909eda',
    500: '#5978ca',
    950: '#000000',
  },
}
SCSS
$custom: #5978ca;
$custom-light: #909eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5978ca",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 223.54,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.13089,
    "h": 266.8
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#5978CA
secondary
#D6CAA8
accent
#B44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5978CA

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

Preview Lab → · Contrast checker → · Palette generator →

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