#5976E7#5976E7

#5976E7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.173 H 269.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5976E7
RGBrgb(89, 118, 231)
HSLhsl(228, 75%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(61.5%, 48.9%, 0%, 9.4%)
CIE-LABlab(52.78, 23.95, -60.59)
CIE-LCHlch(52.78, 65.15, 291.57°)
OKLaboklab(60.18% -0.0008 -0.1734)
OKLCHoklch(60.18% 0.173 269.7)
XYZxyz(25.0172, 20.8481, 78.2915)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976E7 #E7CA59
analogous
#59BDE7 #5976E7 #8359E7
triadic
#5976E7 #E75976 #76E759
tetradic
#5976E7 #E759BD #E7CA59 #59E783
square
#5976E7 #E759BD #E7CA59 #59E783
split-complementary
#5976E7 #E78359 #BDE759
monochromatic
#1937AD #244ADF #5976E7 #8EA2EF #C4CEF6

Accessibility & contrast

On white

4.06
#5976E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5976E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976E7#FFFFFF#000000##000000
##5976E71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5976e7;
/* rgb */ color: rgb(89, 118, 231);
/* oklch */ color: oklch(60.2% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#949def',
    500: '#5976e7',
    950: '#000000',
  },
}
SCSS
$custom: #5976e7;
$custom-light: #949def;
$custom-dark: #000000;
JSON
{
  "hex": "#5976e7",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 227.746,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.17343,
    "h": 269.7
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#5976E7
secondary
#E8DDB4
accent
#AE0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5976E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva