#5977E6#5977E6

#5977E6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.171 H 269.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5977E6
RGBrgb(89, 119, 230)
HSLhsl(227, 74%, 63%)
HSVhsv(227, 61%, 90%)
CMYKcmyk(61.3%, 48.3%, 0%, 9.8%)
CIE-LABlab(52.98, 23.01, -59.71)
CIE-LCHlch(52.98, 63.99, 291.07°)
OKLaboklab(60.31% -0.0019 -0.1708)
OKLCHoklch(60.31% 0.171 269.4)
XYZxyz(24.9948, 21.0285, 77.5893)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977E6 #E6C859
analogous
#59BEE6 #5977E6 #8159E6
triadic
#5977E6 #E65977 #77E659
tetradic
#5977E6 #E659BE #E6C859 #59E681
square
#5977E6 #E659BE #E6C859 #59E681
split-complementary
#5977E6 #E68159 #BEE659
monochromatic
#1A39AB #244BDE #5977E6 #8EA3EE #C3CEF6

Accessibility & contrast

On white

4.03
#5977E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5977E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977E6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977E6#FFFFFF#000000##000000
##5977E61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5977e6;
/* rgb */ color: rgb(89, 119, 230);
/* oklch */ color: oklch(60.3% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#949dee',
    500: '#5977e6',
    950: '#000000',
  },
}
SCSS
$custom: #5977e6;
$custom-light: #949dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5977e6",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 230
  },
  "hsl": {
    "h": 227.234,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.17084,
    "h": 269.4
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#5977E6
secondary
#E7DCB4
accent
#AC10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977E6

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

Preview Lab → · Contrast checker → · Palette generator →

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