#5977E4#5977E4

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

Color values

HEX#5977E4
RGBrgb(89, 119, 228)
HSLhsl(227, 72%, 62%)
HSVhsv(227, 61%, 89%)
CMYKcmyk(61%, 47.8%, 0%, 10.6%)
CIE-LABlab(52.86, 22.34, -58.78)
CIE-LCHlch(52.86, 62.88, 290.81°)
OKLaboklab(60.18% -0.0021 -0.1681)
OKLCHoklch(60.18% 0.168 269.3)
XYZxyz(24.7155, 20.9168, 76.1186)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E4 #E4C659
analogous
#59BDE4 #5977E4 #8059E4
triadic
#5977E4 #E45977 #77E459
tetradic
#5977E4 #E459BD #E4C659 #59E480
square
#5977E4 #E459BD #E4C659 #59E480
split-complementary
#5977E4 #E48059 #BDE459
monochromatic
#1B39A7 #244CDB #5977E4 #8EA2ED #C2CDF5

Accessibility & contrast

On white

4.05
#5977E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5977E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E4#FFFFFF#000000##000000
##5977E41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5977e4;
/* rgb */ color: rgb(89, 119, 228);
/* oklch */ color: oklch(60.2% 0.168 269.3);
Tailwind
colors: {
  custom: {
    50: '#949ded',
    500: '#5977e4',
    950: '#000000',
  },
}
SCSS
$custom: #5977e4;
$custom-light: #949ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e4",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 227.05,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.16812,
    "h": 269.3
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#5977E4
secondary
#E6DBB3
accent
#AA11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977E4

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

Preview Lab → · Contrast checker → · Palette generator →

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