#5977EF#5977EF

#5977EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.183 H 269.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5977EF
RGBrgb(89, 119, 239)
HSLhsl(228, 82%, 64%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(62.8%, 50.2%, 0%, 6.3%)
CIE-LABlab(53.54, 26.03, -63.83)
CIE-LCHlch(53.54, 68.93, 292.18°)
OKLaboklab(60.92% -0.001 -0.183)
OKLCHoklch(60.92% 0.183 269.7)
XYZxyz(26.2914, 21.5472, 84.4181)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977EF #EFD159
analogous
#59C2EF #5977EF #8659EF
triadic
#5977EF #EF5977 #77EF59
tetradic
#5977EF #EF59C2 #EFD159 #59EF86
square
#5977EF #EF59C2 #EFD159 #59EF86
split-complementary
#5977EF #EF8659 #C2EF59
monochromatic
#1234BC #2149EA #5977EF #91A5F4 #C9D2FA

Accessibility & contrast

On white

3.95
#5977EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5977EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977EF#FFFFFF#000000##000000
##5977EF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5977ef;
/* rgb */ color: rgb(89, 119, 239);
/* oklch */ color: oklch(60.9% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#969df5',
    500: '#5977ef',
    950: '#000000',
  },
}
SCSS
$custom: #5977ef;
$custom-light: #969df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ef",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 228,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.18297,
    "h": 269.7
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#5977EF
secondary
#ECE2B8
accent
#B407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5977EF

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

Preview Lab → · Contrast checker → · Palette generator →

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