#5977FA#5977FA

#5977FA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.7% C 0.198 H 270.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5977FA
RGBrgb(89, 119, 250)
HSLhsl(229, 94%, 66%)
HSVhsv(229, 64%, 98%)
CMYKcmyk(64.4%, 52.4%, 0%, 2%)
CIE-LABlab(54.26, 29.73, -68.79)
CIE-LCHlch(54.26, 74.94, 293.37°)
OKLaboklab(61.68% -0.0001 -0.1976)
OKLCHoklch(61.68% 0.198 270)
XYZxyz(27.9661, 22.2171, 93.2385)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977FA #FADC59
analogous
#59C8FA #5977FA #8C59FA
triadic
#5977FA #FA5977 #77FA59
tetradic
#5977FA #FA59C8 #FADC59 #59FA8C
square
#5977FA #FA59C8 #FADC59 #59FA8C
split-complementary
#5977FA #FA8C59 #C8FA59
monochromatic
#062CD2 #1E46F8 #5977FA #94A8FC #D0D8FE

Accessibility & contrast

On white

3.86
#5977FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5977FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977FA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977FA#FFFFFF#000000##000000
##5977FA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5977fa;
/* rgb */ color: rgb(89, 119, 250);
/* oklch */ color: oklch(61.7% 0.198 270.0);
Tailwind
colors: {
  custom: {
    50: '#979dfd',
    500: '#5977fa',
    950: '#000000',
  },
}
SCSS
$custom: #5977fa;
$custom-light: #979dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5977fa",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 228.82,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.19756,
    "h": 270
  },
  "luminance": 0.2222
}

Semantic roles & 50–950 ramp

primary
#5977FA
secondary
#F1E8BD
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5977FA

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

Preview Lab → · Contrast checker → · Palette generator →

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