#5976E8#5976E8

#5976E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.175 H 269.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5976E8
RGBrgb(89, 118, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.6%, 49.1%, 0%, 9%)
CIE-LABlab(52.85, 24.29, -61.05)
CIE-LCHlch(52.85, 65.70, 291.70°)
OKLaboklab(60.25% -0.0007 -0.1748)
OKLCHoklch(60.25% 0.175 269.8)
XYZxyz(25.1588, 20.9048, 79.0375)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976E8 #E8CB59
analogous
#59BDE8 #5976E8 #8359E8
triadic
#5976E8 #E85976 #76E859
tetradic
#5976E8 #E859BD #E8CB59 #59E883
square
#5976E8 #E859BD #E8CB59 #59E883
split-complementary
#5976E8 #E88359 #BDE859
monochromatic
#1837AE #234AE1 #5976E8 #8FA2EF #C5CFF7

Accessibility & contrast

On white

4.05
#5976E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5976E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976E8#FFFFFF#000000##000000
##5976E81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5976e8;
/* rgb */ color: rgb(89, 118, 232);
/* oklch */ color: oklch(60.2% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#949df0',
    500: '#5976e8',
    950: '#000000',
  },
}
SCSS
$custom: #5976e8;
$custom-light: #949df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5976e8",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 227.832,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.17478,
    "h": 269.8
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#5976E8
secondary
#E8DEB5
accent
#AF0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5976E8

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

Preview Lab → · Contrast checker → · Palette generator →

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