#5976EC#5976EC

#5976EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.180 H 269.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5976EC
RGBrgb(89, 118, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.3%, 50%, 0%, 7.5%)
CIE-LABlab(53.10, 25.63, -62.88)
CIE-LCHlch(53.10, 67.90, 292.18°)
OKLaboklab(60.52% -0.0003 -0.1802)
OKLCHoklch(60.52% 0.18 269.9)
XYZxyz(25.7335, 21.1346, 82.0639)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976EC #ECCF59
analogous
#59BFEC #5976EC #8559EC
triadic
#5976EC #EC5976 #76EC59
tetradic
#5976EC #EC59BF #ECCF59 #59EC85
square
#5976EC #EC59BF #ECCF59 #59EC85
split-complementary
#5976EC #EC8559 #BFEC59
monochromatic
#1535B6 #2249E6 #5976EC #90A3F2 #C7D1F9

Accessibility & contrast

On white

4.02
#5976EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5976EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976EC#FFFFFF#000000##000000
##5976EC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0579EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5976ec;
/* rgb */ color: rgb(89, 118, 236);
/* oklch */ color: oklch(60.5% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5976ec',
    950: '#000000',
  },
}
SCSS
$custom: #5976ec;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ec",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 228.163,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.18017,
    "h": 269.9
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#5976EC
secondary
#EAE0B6
accent
#B20ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5976EC

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

Preview Lab → · Contrast checker → · Palette generator →

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