#5977E8#5977E8

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

Color values

HEX#5977E8
RGBrgb(89, 119, 232)
HSLhsl(227, 76%, 63%)
HSVhsv(227, 62%, 91%)
CMYKcmyk(61.6%, 48.7%, 0%, 9%)
CIE-LABlab(53.10, 23.68, -60.63)
CIE-LCHlch(53.10, 65.09, 291.33°)
OKLaboklab(60.44% -0.0017 -0.1735)
OKLCHoklch(60.44% 0.174 269.4)
XYZxyz(25.2772, 21.1415, 79.0769)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E8 #E8CA59
analogous
#59BEE8 #5977E8 #8359E8
triadic
#5977E8 #E85977 #77E859
tetradic
#5977E8 #E859BE #E8CA59 #59E883
square
#5977E8 #E859BE #E8CA59 #59E883
split-complementary
#5977E8 #E88359 #BEE859
monochromatic
#1838AE #234BE1 #5977E8 #8FA3EF #C5CFF7

Accessibility & contrast

On white

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

On black

5.23
#5977E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E8#FFFFFF#000000##000000
##5977E81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5977e8;
/* rgb */ color: rgb(89, 119, 232);
/* oklch */ color: oklch(60.4% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#949df0',
    500: '#5977e8',
    950: '#000000',
  },
}
SCSS
$custom: #5977e8;
$custom-light: #949df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e8",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 227.413,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60444,
    "c": 0.17356,
    "h": 269.4
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#5977E8
secondary
#E8DDB5
accent
#AD0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5977E8

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

Preview Lab → · Contrast checker → · Palette generator →

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