#5977F4#5977F4

#5977F4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.190 H 269.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5977F4
RGBrgb(89, 119, 244)
HSLhsl(228, 88%, 65%)
HSVhsv(228, 64%, 96%)
CMYKcmyk(63.5%, 51.2%, 0%, 4.3%)
CIE-LABlab(53.86, 27.71, -66.10)
CIE-LCHlch(53.86, 71.67, 292.74°)
OKLaboklab(61.26% -0.0005 -0.1896)
OKLCHoklch(61.26% 0.19 269.8)
XYZxyz(27.0403, 21.8467, 88.3623)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977F4 #F4D659
analogous
#59C5F4 #5977F4 #8859F4
triadic
#5977F4 #F45977 #77F459
tetradic
#5977F4 #F459C5 #F4D659 #59F488
square
#5977F4 #F459C5 #F4D659 #59F488
split-complementary
#5977F4 #F48859 #C5F459
monochromatic
#0D31C6 #2048F0 #5977F4 #92A6F8 #CCD5FC

Accessibility & contrast

On white

3.91
#5977F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5977F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977F4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977F4#FFFFFF#000000##000000
##5977F41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F8
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5977f4;
/* rgb */ color: rgb(89, 119, 244);
/* oklch */ color: oklch(61.3% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#969df8',
    500: '#5977f4',
    950: '#000000',
  },
}
SCSS
$custom: #5977f4;
$custom-light: #969df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5977f4",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 228.387,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.18963,
    "h": 269.8
  },
  "luminance": 0.21849
}

Semantic roles & 50–950 ramp

primary
#5977F4
secondary
#EFE4BA
accent
#B801E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5977F4

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

Preview Lab → · Contrast checker → · Palette generator →

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