#5977F7#5977F7

#5977F7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.194 H 269.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5977F7
RGBrgb(89, 119, 247)
HSLhsl(229, 91%, 66%)
HSVhsv(229, 64%, 97%)
CMYKcmyk(64%, 51.8%, 0%, 3.1%)
CIE-LABlab(54.06, 28.72, -67.45)
CIE-LCHlch(54.06, 73.31, 293.06°)
OKLaboklab(61.47% -0.0003 -0.1936)
OKLCHoklch(61.47% 0.194 269.9)
XYZxyz(27.4995, 22.0304, 90.7808)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977F7 #F7D959
analogous
#59C6F7 #5977F7 #8A59F7
triadic
#5977F7 #F75977 #77F759
tetradic
#5977F7 #F759C6 #F7D959 #59F78A
square
#5977F7 #F759C6 #F7D959 #59F78A
split-complementary
#5977F7 #F78A59 #C6F759
monochromatic
#0A2FCC #1F47F4 #5977F7 #93A7FA #CED7FD

Accessibility & contrast

On white

3.88
#5977F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5977F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977F7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977F7#FFFFFF#000000##000000
##5977F71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5977f7;
/* rgb */ color: rgb(89, 119, 247);
/* oklch */ color: oklch(61.5% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#979dfb',
    500: '#5977f7',
    950: '#000000',
  },
}
SCSS
$custom: #5977f7;
$custom-light: #979dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5977f7",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 228.608,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61473,
    "c": 0.1936,
    "h": 269.9
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#5977F7
secondary
#F0E6BC
accent
#BA00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5977F7

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

Preview Lab → · Contrast checker → · Palette generator →

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