#5976EA#5976EA

#5976EA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.177 H 269.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5976EA
RGBrgb(89, 118, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62%, 49.6%, 0%, 8.2%)
CIE-LABlab(52.97, 24.96, -61.96)
CIE-LCHlch(52.97, 66.80, 291.94°)
OKLaboklab(60.38% -0.0005 -0.1775)
OKLCHoklch(60.38% 0.177 269.8)
XYZxyz(25.4445, 21.0190, 80.5421)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976EA #EACD59
analogous
#59BEEA #5976EA #8459EA
triadic
#5976EA #EA5976 #76EA59
tetradic
#5976EA #EA59BE #EACD59 #59EA84
square
#5976EA #EA59BE #EACD59 #59EA84
split-complementary
#5976EA #EA8459 #BEEA59
monochromatic
#1736B2 #2349E3 #5976EA #8FA3F1 #C6D0F8

Accessibility & contrast

On white

4.04
#5976EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5976EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976EA#FFFFFF#000000##000000
##5976EA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#1078E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5976ea;
/* rgb */ color: rgb(89, 118, 234);
/* oklch */ color: oklch(60.4% 0.177 269.8);
Tailwind
colors: {
  custom: {
    50: '#959df1',
    500: '#5976ea',
    950: '#000000',
  },
}
SCSS
$custom: #5976ea;
$custom-light: #959df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ea",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 228,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.17748,
    "h": 269.8
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5976EA

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

Preview Lab → · Contrast checker → · Palette generator →

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