#5976DA#5976DA

#5976DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.156 H 269.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5976DA
RGBrgb(89, 118, 218)
HSLhsl(227, 64%, 60%)
HSVhsv(227, 59%, 85%)
CMYKcmyk(59.2%, 45.9%, 0%, 14.5%)
CIE-LABlab(52.00, 19.61, -54.54)
CIE-LCHlch(52.00, 57.95, 289.78°)
OKLaboklab(59.33% -0.0025 -0.1556)
OKLCHoklch(59.33% 0.156 269.1)
XYZxyz(23.2489, 20.1408, 68.9785)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976DA #DABD59
analogous
#59B6DA #5976DA #7D59DA
triadic
#5976DA #DA5976 #76DA59
tetradic
#5976DA #DA59B6 #DABD59 #59DA7D
square
#5976DA #DA59B6 #DABD59 #59DA7D
split-complementary
#5976DA #DA7D59 #B6DA59
monochromatic
#223C97 #2D50C9 #5976DA #8B9FE5 #BDC9F0

Accessibility & contrast

On white

4.18
#5976DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5976DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976DA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976DA#FFFFFF#000000##000000
##5976DA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5976da;
/* rgb */ color: rgb(89, 118, 218);
/* oklch */ color: oklch(59.3% 0.156 269.1);
Tailwind
colors: {
  custom: {
    50: '#929de6',
    500: '#5976da',
    950: '#000000',
  },
}
SCSS
$custom: #5976da;
$custom-light: #929de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5976da",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 226.512,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.15566,
    "h": 269.1
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#5976DA
secondary
#E0D5AF
accent
#A41ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976DA

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

Preview Lab → · Contrast checker → · Palette generator →

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