#5978EE#5978EE

#5978EE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.180 H 269.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5978EE
RGBrgb(89, 120, 238)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.74, 25.08, -62.96)
CIE-LCHlch(53.74, 67.77, 291.72°)
OKLaboklab(61.04% -0.002 -0.1804)
OKLCHoklch(61.04% 0.18 269.4)
XYZxyz(26.2637, 21.7275, 83.6821)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978EE #EECF59
analogous
#59C3EE #5978EE #8559EE
triadic
#5978EE #EE5978 #78EE59
tetradic
#5978EE #EE59C3 #EECF59 #59EE85
square
#5978EE #EE59C3 #EECF59 #59EE85
split-complementary
#5978EE #EE8559 #C3EE59
monochromatic
#1336BA #214BE8 #5978EE #91A5F4 #C8D2F9

Accessibility & contrast

On white

3.93
#5978EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5978EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978EE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978EE#FFFFFF#000000##000000
##5978EE1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#0B7AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5978ee;
/* rgb */ color: rgb(89, 120, 238);
/* oklch */ color: oklch(61.0% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#959ef4',
    500: '#5978ee',
    950: '#000000',
  },
}
SCSS
$custom: #5978ee;
$custom-light: #959ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5978ee",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 227.517,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.18041,
    "h": 269.4
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#5978EE
secondary
#EBE1B7
accent
#B108DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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