#5976D8#5976D8

#5976D8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.2% C 0.153 H 269.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5976D8
RGBrgb(89, 118, 216)
HSLhsl(226, 62%, 60%)
HSVhsv(226, 59%, 85%)
CMYKcmyk(58.8%, 45.4%, 0%, 15.3%)
CIE-LABlab(51.88, 18.95, -53.59)
CIE-LCHlch(51.88, 56.84, 289.47°)
OKLaboklab(59.2% -0.0028 -0.1529)
OKLCHoklch(59.2% 0.153 269)
XYZxyz(22.9888, 20.0367, 67.6085)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976D8 #D8BB59
analogous
#59B6D8 #5976D8 #7B59D8
triadic
#5976D8 #D85976 #76D859
tetradic
#5976D8 #D859B6 #D8BB59 #59D87B
square
#5976D8 #D859B6 #D8BB59 #59D87B
split-complementary
#5976D8 #D87B59 #B6D859
monochromatic
#233D94 #2E51C5 #5976D8 #8B9FE4 #BCC8EF

Accessibility & contrast

On white

4.19
#5976D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5976D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976D8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976D8#FFFFFF#000000##000000
##5976D81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DC
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5976d8;
/* rgb */ color: rgb(89, 118, 216);
/* oklch */ color: oklch(59.2% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#929de4',
    500: '#5976d8',
    950: '#000000',
  },
}
SCSS
$custom: #5976d8;
$custom-light: #929de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5976d8",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 226.299,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.15289,
    "h": 269
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#5976D8
secondary
#DFD4AE
accent
#C043E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976D8

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

Preview Lab → · Contrast checker → · Palette generator →

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