#5976ED#5976ED

#5976ED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.182 H 269.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5976ED
RGBrgb(89, 118, 237)
HSLhsl(228, 80%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.4%, 50.2%, 0%, 7.1%)
CIE-LABlab(53.16, 25.97, -63.33)
CIE-LCHlch(53.16, 68.45, 292.29°)
OKLaboklab(60.59% -0.0002 -0.1815)
OKLCHoklch(60.59% 0.182 269.9)
XYZxyz(25.8792, 21.1929, 82.8312)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976ED #EDD059
analogous
#59C0ED #5976ED #8659ED
triadic
#5976ED #ED5976 #76ED59
tetradic
#5976ED #ED59C0 #EDD059 #59ED86
square
#5976ED #ED59C0 #EDD059 #59ED86
split-complementary
#5976ED #ED8659 #C0ED59
monochromatic
#1434B8 #2248E7 #5976ED #90A4F3 #C7D1F9

Accessibility & contrast

On white

4.01
#5976ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5976ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976ED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976ED#FFFFFF#000000##000000
##5976ED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F1
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5976ed;
/* rgb */ color: rgb(89, 118, 237);
/* oklch */ color: oklch(60.6% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#959df3',
    500: '#5976ed',
    950: '#000000',
  },
}
SCSS
$custom: #5976ed;
$custom-light: #959df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ed",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 228.243,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.18152,
    "h": 269.9
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#5976ED
secondary
#EBE1B7
accent
#B309DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5976ED

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

Preview Lab → · Contrast checker → · Palette generator →

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