#5977EC#5977EC

#5977EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.179 H 269.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5977EC
RGBrgb(89, 119, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.35, 25.02, -62.46)
CIE-LCHlch(53.35, 67.29, 291.83°)
OKLaboklab(60.71% -0.0012 -0.1789)
OKLCHoklch(60.71% 0.179 269.6)
XYZxyz(25.8519, 21.3714, 82.1034)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977EC #ECCE59
analogous
#59C0EC #5977EC #8459EC
triadic
#5977EC #EC5977 #77EC59
tetradic
#5977EC #EC59C0 #ECCE59 #59EC84
square
#5977EC #EC59C0 #ECCE59 #59EC84
split-complementary
#5977EC #EC8459 #C0EC59
monochromatic
#1536B6 #224AE6 #5977EC #90A4F2 #C7D1F9

Accessibility & contrast

On white

3.98
#5977EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5977EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977EC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977EC#FFFFFF#000000##000000
##5977EC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#0E79EA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5977ec;
/* rgb */ color: rgb(89, 119, 236);
/* oklch */ color: oklch(60.7% 0.179 269.6);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5977ec',
    950: '#000000',
  },
}
SCSS
$custom: #5977ec;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ec",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 227.755,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.17894,
    "h": 269.6
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#5977EC
secondary
#EAE0B6
accent
#B10ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5977EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5977EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva