#5976E6#5976E6

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

Color values

HEX#5976E6
RGBrgb(89, 118, 230)
HSLhsl(228, 74%, 63%)
HSVhsv(228, 61%, 90%)
CMYKcmyk(61.3%, 48.7%, 0%, 9.8%)
CIE-LABlab(52.72, 23.62, -60.12)
CIE-LCHlch(52.72, 64.60, 291.45°)
OKLaboklab(60.11% -0.0009 -0.1721)
OKLCHoklch(60.11% 0.172 269.7)
XYZxyz(24.8764, 20.7918, 77.5498)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976E6 #E6C959
analogous
#59BCE6 #5976E6 #8359E6
triadic
#5976E6 #E65976 #76E659
tetradic
#5976E6 #E659BC #E6C959 #59E683
square
#5976E6 #E659BC #E6C959 #59E683
split-complementary
#5976E6 #E68359 #BCE659
monochromatic
#1A38AB #244ADE #5976E6 #8EA2EE #C3CEF6

Accessibility & contrast

On white

4.07
#5976E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5976E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976E6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976E6#FFFFFF#000000##000000
##5976E61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5976e6;
/* rgb */ color: rgb(89, 118, 230);
/* oklch */ color: oklch(60.1% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#949def',
    500: '#5976e6',
    950: '#000000',
  },
}
SCSS
$custom: #5976e6;
$custom-light: #949def;
$custom-dark: #000000;
JSON
{
  "hex": "#5976e6",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 230
  },
  "hsl": {
    "h": 227.66,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60114,
    "c": 0.17207,
    "h": 269.7
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#5976E6
secondary
#E7DCB4
accent
#AD10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976E6

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

Preview Lab → · Contrast checker → · Palette generator →

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