#5977E7#5977E7

#5977E7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.172 H 269.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5977E7
RGBrgb(89, 119, 231)
HSLhsl(227, 75%, 63%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(61.5%, 48.5%, 0%, 9.4%)
CIE-LABlab(53.04, 23.34, -60.17)
CIE-LCHlch(53.04, 64.54, 291.20°)
OKLaboklab(60.38% -0.0018 -0.1722)
OKLCHoklch(60.38% 0.172 269.4)
XYZxyz(25.1356, 21.0849, 78.3310)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E7 #E7C959
analogous
#59BEE7 #5977E7 #8259E7
triadic
#5977E7 #E75977 #77E759
tetradic
#5977E7 #E759BE #E7C959 #59E782
square
#5977E7 #E759BE #E7C959 #59E782
split-complementary
#5977E7 #E78259 #BEE759
monochromatic
#1938AD #244BDF #5977E7 #8EA3EF #C4CFF6

Accessibility & contrast

On white

4.02
#5977E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5977E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E7#FFFFFF#000000##000000
##5977E71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#1E79E5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5977e7;
/* rgb */ color: rgb(89, 119, 231);
/* oklch */ color: oklch(60.4% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#949def',
    500: '#5977e7',
    950: '#000000',
  },
}
SCSS
$custom: #5977e7;
$custom-light: #949def;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e7",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 227.324,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.1722,
    "h": 269.4
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#5977E7
secondary
#E8DDB4
accent
#AD0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977E7

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

Preview Lab → · Contrast checker → · Palette generator →

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