#5977ED#5977ED

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

Color values

HEX#5977ED
RGBrgb(89, 119, 237)
HSLhsl(228, 80%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.4%, 49.8%, 0%, 7.1%)
CIE-LABlab(53.42, 25.36, -62.92)
CIE-LCHlch(53.42, 67.84, 291.95°)
OKLaboklab(60.78% -0.0011 -0.1803)
OKLCHoklch(60.78% 0.18 269.6)
XYZxyz(25.9975, 21.4297, 82.8706)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977ED #EDCF59
analogous
#59C1ED #5977ED #8559ED
triadic
#5977ED #ED5977 #77ED59
tetradic
#5977ED #ED59C1 #EDCF59 #59ED85
square
#5977ED #ED59C1 #EDCF59 #59ED85
split-complementary
#5977ED #ED8559 #C1ED59
monochromatic
#1435B8 #224AE7 #5977ED #90A4F3 #C7D1F9

Accessibility & contrast

On white

3.97
#5977ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5977ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977ED
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977ED#FFFFFF#000000##000000
##5977ED1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#0879EB
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5977ed;
/* rgb */ color: rgb(89, 119, 237);
/* oklch */ color: oklch(60.8% 0.180 269.6);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5977ed',
    950: '#000000',
  },
}
SCSS
$custom: #5977ed;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ed",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 227.838,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.18029,
    "h": 269.6
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#5977ED
secondary
#EBE0B7
accent
#B209DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5977ED

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

Preview Lab → · Contrast checker → · Palette generator →

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