#5976EF#5976EF

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

Color values

HEX#5976EF
RGBrgb(89, 118, 239)
HSLhsl(228, 82%, 64%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(62.8%, 50.6%, 0%, 6.3%)
CIE-LABlab(53.29, 26.64, -64.24)
CIE-LCHlch(53.29, 69.55, 292.52°)
OKLaboklab(60.72% 0 -0.1842)
OKLCHoklch(60.72% 0.184 270)
XYZxyz(26.1730, 21.3104, 84.3787)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976EF #EFD259
analogous
#59C1EF #5976EF #8759EF
triadic
#5976EF #EF5976 #76EF59
tetradic
#5976EF #EF59C1 #EFD259 #59EF87
square
#5976EF #EF59C1 #EFD259 #59EF87
split-complementary
#5976EF #EF8759 #C1EF59
monochromatic
#1233BC #2148EA #5976EF #91A4F4 #C9D2FA

Accessibility & contrast

On white

3.99
#5976EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5976EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976EF#FFFFFF#000000##000000
##5976EF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5976ef;
/* rgb */ color: rgb(89, 118, 239);
/* oklch */ color: oklch(60.7% 0.184 270.0);
Tailwind
colors: {
  custom: {
    50: '#969df5',
    500: '#5976ef',
    950: '#000000',
  },
}
SCSS
$custom: #5976ef;
$custom-light: #969df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ef",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 228.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.18419,
    "h": 270
  },
  "luminance": 0.21313
}

Semantic roles & 50–950 ramp

primary
#5976EF
secondary
#ECE2B8
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5976EF

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

Preview Lab → · Contrast checker → · Palette generator →

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