#5977E9#5977E9

#5977E9 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.175 H 269.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5977E9
RGBrgb(89, 119, 233)
HSLhsl(228, 77%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.8%, 48.9%, 0%, 8.6%)
CIE-LABlab(53.17, 24.01, -61.09)
CIE-LCHlch(53.17, 65.64, 291.46°)
OKLaboklab(60.51% -0.0016 -0.1749)
OKLCHoklch(60.51% 0.175 269.5)
XYZxyz(25.4197, 21.1985, 79.8271)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E9 #E9CB59
analogous
#59BFE9 #5977E9 #8359E9
triadic
#5977E9 #E95977 #77E959
tetradic
#5977E9 #E959BF #E9CB59 #59E983
square
#5977E9 #E959BF #E9CB59 #59E983
split-complementary
#5977E9 #E98359 #BFE959
monochromatic
#1737B0 #234BE2 #5977E9 #8FA3F0 #C5D0F7

Accessibility & contrast

On white

4.01
#5977E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5977E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E9#FFFFFF#000000##000000
##5977E91.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5977e9;
/* rgb */ color: rgb(89, 119, 233);
/* oklch */ color: oklch(60.5% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#959df1',
    500: '#5977e9',
    950: '#000000',
  },
}
SCSS
$custom: #5977e9;
$custom-light: #959df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e9",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 227.5,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.17491,
    "h": 269.5
  },
  "luminance": 0.21201
}

Semantic roles & 50–950 ramp

primary
#5977E9
secondary
#E9DEB5
accent
#AE0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5977E9

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

Preview Lab → · Contrast checker → · Palette generator →

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