#5977EA#5977EA

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

Color values

HEX#5977EA
RGBrgb(89, 119, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62%, 49.1%, 0%, 8.2%)
CIE-LABlab(53.23, 24.35, -61.55)
CIE-LCHlch(53.23, 66.19, 291.58°)
OKLaboklab(60.58% -0.0015 -0.1762)
OKLCHoklch(60.58% 0.176 269.5)
XYZxyz(25.5629, 21.2558, 80.5816)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977EA #EACC59
analogous
#59BFEA #5977EA #8359EA
triadic
#5977EA #EA5977 #77EA59
tetradic
#5977EA #EA59BF #EACC59 #59EA83
square
#5977EA #EA59BF #EACC59 #59EA83
split-complementary
#5977EA #EA8359 #BFEA59
monochromatic
#1737B2 #234AE3 #5977EA #8FA4F1 #C6D0F8

Accessibility & contrast

On white

4.00
#5977EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5977EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977EA#FFFFFF#000000##000000
##5977EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5977ea;
/* rgb */ color: rgb(89, 119, 234);
/* oklch */ color: oklch(60.6% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#959df1',
    500: '#5977ea',
    950: '#000000',
  },
}
SCSS
$custom: #5977ea;
$custom-light: #959df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ea",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 227.586,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.17626,
    "h": 269.5
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#5977EA
secondary
#E9DFB6
accent
#AF0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5977EA

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

Preview Lab → · Contrast checker → · Palette generator →

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