#5976EE#5976EE

#5976EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.183 H 270.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5976EE
RGBrgb(89, 118, 238)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(62.6%, 50.4%, 0%, 6.7%)
CIE-LABlab(53.22, 26.30, -63.79)
CIE-LCHlch(53.22, 69.00, 292.41°)
OKLaboklab(60.66% -0.0001 -0.1829)
OKLCHoklch(60.66% 0.183 270)
XYZxyz(26.0257, 21.2515, 83.6028)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976EE #EED159
analogous
#59C1EE #5976EE #8759EE
triadic
#5976EE #EE5976 #76EE59
tetradic
#5976EE #EE59C1 #EED159 #59EE87
square
#5976EE #EE59C1 #EED159 #59EE87
split-complementary
#5976EE #EE8759 #C1EE59
monochromatic
#1333BA #2148E8 #5976EE #91A4F4 #C8D2F9

Accessibility & contrast

On white

4.00
#5976EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5976EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976EE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976EE#FFFFFF#000000##000000
##5976EE1.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)
#3186F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5976ee;
/* rgb */ color: rgb(89, 118, 238);
/* oklch */ color: oklch(60.7% 0.183 270.0);
Tailwind
colors: {
  custom: {
    50: '#959df4',
    500: '#5976ee',
    950: '#000000',
  },
}
SCSS
$custom: #5976ee;
$custom-light: #959df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ee",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 228.322,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.18286,
    "h": 270
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#5976EE
secondary
#EBE1B7
accent
#B408DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5976EE

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

Preview Lab → · Contrast checker → · Palette generator →

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