#5976CD#5976CD

#5976CD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.138 H 268.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5976CD
RGBrgb(89, 118, 205)
HSLhsl(225, 54%, 58%)
HSVhsv(225, 57%, 80%)
CMYKcmyk(56.6%, 42.4%, 0%, 19.6%)
CIE-LABlab(51.25, 15.31, -48.35)
CIE-LCHlch(51.25, 50.72, 287.57°)
OKLaboklab(58.52% -0.0046 -0.1375)
OKLCHoklch(58.52% 0.138 268.1)
XYZxyz(21.6140, 19.4868, 60.3681)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CD #CDB059
analogous
#59B0CD #5976CD #7659CD
triadic
#5976CD #CD5976 #76CD59
tetradic
#5976CD #CD59B0 #CDB059 #59CD76
square
#5976CD #CD59B0 #CDB059 #59CD76
split-complementary
#5976CD #CD7659 #B0CD59
monochromatic
#283F84 #3655B3 #5976CD #889DDB #B7C4E9

Accessibility & contrast

On white

4.29
#5976CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5976CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CD#FFFFFF#000000##000000
##5976CD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#088997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976cd;
/* rgb */ color: rgb(89, 118, 205);
/* oklch */ color: oklch(58.5% 0.138 268.1);
Tailwind
colors: {
  custom: {
    50: '#909ddd',
    500: '#5976cd',
    950: '#000000',
  },
}
SCSS
$custom: #5976cd;
$custom-light: #909ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5976cd",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 225,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.13757,
    "h": 268.1
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#5976CD
secondary
#D8CDAA
accent
#B84BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CD

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

Preview Lab → · Contrast checker → · Palette generator →

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