#5976CE#5976CE

#5976CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.139 H 268.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5976CE
RGBrgb(89, 118, 206)
HSLhsl(225, 54%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(56.8%, 42.7%, 0%, 19.2%)
CIE-LABlab(51.31, 15.64, -48.83)
CIE-LCHlch(51.31, 51.27, 287.76°)
OKLaboklab(58.58% -0.0044 -0.1389)
OKLCHoklch(58.58% 0.139 268.2)
XYZxyz(21.7351, 19.5353, 61.0059)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CE #CEB159
analogous
#59B1CE #5976CE #7659CE
triadic
#5976CE #CE5976 #76CE59
tetradic
#5976CE #CE59B1 #CEB159 #59CE76
square
#5976CE #CE59B1 #CEB159 #59CE76
split-complementary
#5976CE #CE7659 #B1CE59
monochromatic
#273F85 #3555B5 #5976CE #889DDC #B8C4EA

Accessibility & contrast

On white

4.28
#5976CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5976CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CE#FFFFFF#000000##000000
##5976CE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#048998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976ce;
/* rgb */ color: rgb(89, 118, 206);
/* oklch */ color: oklch(58.6% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5976ce',
    950: '#000000',
  },
}
SCSS
$custom: #5976ce;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ce",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 225.128,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.13897,
    "h": 268.2
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#5976CE
secondary
#D9CDAA
accent
#B94ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CE

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

Preview Lab → · Contrast checker → · Palette generator →

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