#5976EB#5976EB

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

Color values

HEX#5976EB
RGBrgb(89, 118, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.1%, 49.8%, 0%, 7.8%)
CIE-LABlab(53.03, 25.30, -62.42)
CIE-LCHlch(53.03, 67.35, 292.06°)
OKLaboklab(60.45% -0.0004 -0.1788)
OKLCHoklch(60.45% 0.179 269.9)
XYZxyz(25.5886, 21.0767, 81.3009)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976EB #EBCE59
analogous
#59BFEB #5976EB #8559EB
triadic
#5976EB #EB5976 #76EB59
tetradic
#5976EB #EB59BF #EBCE59 #59EB85
square
#5976EB #EB59BF #EBCE59 #59EB85
split-complementary
#5976EB #EB8559 #BFEB59
monochromatic
#1635B4 #2249E4 #5976EB #90A3F2 #C6D0F8

Accessibility & contrast

On white

4.03
#5976EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5976EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976EB#FFFFFF#000000##000000
##5976EB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EF
Deuteranopia (green-blind)
#0B78E9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5976eb;
/* rgb */ color: rgb(89, 118, 235);
/* oklch */ color: oklch(60.5% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#959df2',
    500: '#5976eb',
    950: '#000000',
  },
}
SCSS
$custom: #5976eb;
$custom-light: #959df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5976eb",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 228.082,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.17883,
    "h": 269.9
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#5976EB
secondary
#EADFB6
accent
#B10BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5976EB

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

Preview Lab → · Contrast checker → · Palette generator →

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