#5977E5#5977E5

#5977E5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.169 H 269.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5977E5
RGBrgb(89, 119, 229)
HSLhsl(227, 73%, 62%)
HSVhsv(227, 61%, 90%)
CMYKcmyk(61.1%, 48%, 0%, 10.2%)
CIE-LABlab(52.92, 22.67, -59.25)
CIE-LCHlch(52.92, 63.43, 290.94°)
OKLaboklab(60.25% -0.002 -0.1695)
OKLCHoklch(60.25% 0.169 269.3)
XYZxyz(24.8547, 20.9725, 76.8519)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E5 #E5C759
analogous
#59BDE5 #5977E5 #8159E5
triadic
#5977E5 #E55977 #77E559
tetradic
#5977E5 #E559BD #E5C759 #59E581
square
#5977E5 #E559BD #E5C759 #59E581
split-complementary
#5977E5 #E58159 #BDE559
monochromatic
#1A39A9 #244CDD #5977E5 #8EA2ED #C3CEF6

Accessibility & contrast

On white

4.04
#5977E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5977E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E5#FFFFFF#000000##000000
##5977E51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#2378E3
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5977e5;
/* rgb */ color: rgb(89, 119, 229);
/* oklch */ color: oklch(60.2% 0.169 269.3);
Tailwind
colors: {
  custom: {
    50: '#949dee',
    500: '#5977e5',
    950: '#000000',
  },
}
SCSS
$custom: #5977e5;
$custom-light: #949dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e5",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 229
  },
  "hsl": {
    "h": 227.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.16948,
    "h": 269.3
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#5977E5
secondary
#E6DCB3
accent
#AB10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977E5

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

Preview Lab → · Contrast checker → · Palette generator →

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