#5977EB#5977EB

#5977EB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.178 H 269.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5977EB
RGBrgb(89, 119, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.1%, 49.4%, 0%, 7.8%)
CIE-LABlab(53.29, 24.68, -62.01)
CIE-LCHlch(53.29, 66.74, 291.71°)
OKLaboklab(60.65% -0.0013 -0.1776)
OKLCHoklch(60.65% 0.178 269.6)
XYZxyz(25.7070, 21.3134, 81.3403)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977EB #EBCD59
analogous
#59C0EB #5977EB #8459EB
triadic
#5977EB #EB5977 #77EB59
tetradic
#5977EB #EB59C0 #EBCD59 #59EB84
square
#5977EB #EB59C0 #EBCD59 #59EB84
split-complementary
#5977EB #EB8459 #C0EB59
monochromatic
#1636B4 #224AE4 #5977EB #90A4F2 #C6D0F8

Accessibility & contrast

On white

3.99
#5977EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5977EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977EB#FFFFFF#000000##000000
##5977EB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5977eb;
/* rgb */ color: rgb(89, 119, 235);
/* oklch */ color: oklch(60.6% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#959df2',
    500: '#5977eb',
    950: '#000000',
  },
}
SCSS
$custom: #5977eb;
$custom-light: #959df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5977eb",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 227.671,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.17761,
    "h": 269.6
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#5977EB
secondary
#EADFB6
accent
#B00BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5977EB

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

Preview Lab → · Contrast checker → · Palette generator →

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