#5977EE#5977EE

#5977EE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.182 H 269.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5977EE
RGBrgb(89, 119, 238)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.6%, 50%, 0%, 6.7%)
CIE-LABlab(53.48, 25.69, -63.38)
CIE-LCHlch(53.48, 68.39, 292.07°)
OKLaboklab(60.85% -0.001 -0.1816)
OKLCHoklch(60.85% 0.182 269.7)
XYZxyz(26.1440, 21.4883, 83.6422)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977EE #EED059
analogous
#59C2EE #5977EE #8559EE
triadic
#5977EE #EE5977 #77EE59
tetradic
#5977EE #EE59C2 #EED059 #59EE85
square
#5977EE #EE59C2 #EED059 #59EE85
split-complementary
#5977EE #EE8559 #C2EE59
monochromatic
#1335BA #214AE8 #5977EE #91A4F4 #C8D2F9

Accessibility & contrast

On white

3.96
#5977EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5977EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977EE#FFFFFF#000000##000000
##5977EE1.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)
#3487F2
Deuteranopia (green-blind)
#0279EC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5977ee;
/* rgb */ color: rgb(89, 119, 238);
/* oklch */ color: oklch(60.9% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#959df4',
    500: '#5977ee',
    950: '#000000',
  },
}
SCSS
$custom: #5977ee;
$custom-light: #959df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ee",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 227.919,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.18163,
    "h": 269.7
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5977EE

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

Preview Lab → · Contrast checker → · Palette generator →

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