#5976DE#5976DE

#5976DE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.161 H 269.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5976DE
RGBrgb(89, 118, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(59.9%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.23, 20.94, -56.41)
CIE-LCHlch(52.23, 60.17, 290.37°)
OKLaboklab(59.59% -0.0019 -0.1611)
OKLCHoklch(59.59% 0.161 269.3)
XYZxyz(23.7786, 20.3527, 71.7685)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976DE #DEC159
analogous
#59B8DE #5976DE #7E59DE
triadic
#5976DE #DE5976 #76DE59
tetradic
#5976DE #DE59B8 #DEC159 #59DE7E
square
#5976DE #DE59B8 #DEC159 #59DE7E
split-complementary
#5976DE #DE7E59 #B8DE59
monochromatic
#1F3B9D #294ED0 #5976DE #8CA0E8 #BFCAF2

Accessibility & contrast

On white

4.14
#5976DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5976DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976DE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976DE#FFFFFF#000000##000000
##5976DE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5976de;
/* rgb */ color: rgb(89, 118, 222);
/* oklch */ color: oklch(59.6% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5976de',
    950: '#000000',
  },
}
SCSS
$custom: #5976de;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5976de",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 226.917,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.16116,
    "h": 269.3
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#5976DE
secondary
#E2D8B0
accent
#A717CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976DE

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

Preview Lab → · Contrast checker → · Palette generator →

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