#5978EA#5978EA

#5978EA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.175 H 269.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5978EA
RGBrgb(89, 120, 234)
HSLhsl(227, 78%, 63%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(62%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.49, 23.73, -61.13)
CIE-LCHlch(53.49, 65.58, 291.22°)
OKLaboklab(60.78% -0.0024 -0.175)
OKLCHoklch(60.78% 0.175 269.2)
XYZxyz(25.6825, 21.4951, 80.6215)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978EA #EACB59
analogous
#59C1EA #5978EA #8259EA
triadic
#5978EA #EA5978 #78EA59
tetradic
#5978EA #EA59C1 #EACB59 #59EA82
square
#5978EA #EA59C1 #EACB59 #59EA82
split-complementary
#5978EA #EA8259 #C1EA59
monochromatic
#1738B2 #234CE3 #5978EA #8FA4F1 #C6D0F8

Accessibility & contrast

On white

3.96
#5978EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5978EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978EA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978EA#FFFFFF#000000##000000
##5978EA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#1B7AE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5978ea;
/* rgb */ color: rgb(89, 120, 234);
/* oklch */ color: oklch(60.8% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#959ef1',
    500: '#5978ea',
    950: '#000000',
  },
}
SCSS
$custom: #5978ea;
$custom-light: #959ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5978ea",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 227.172,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.17503,
    "h": 269.2
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#5978EA
secondary
#E9DEB6
accent
#AE0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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