#5976CC#5976CC

#5976CC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.136 H 268.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5976CC
RGBrgb(89, 118, 204)
HSLhsl(225, 53%, 57%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(56.4%, 42.2%, 0%, 20%)
CIE-LABlab(51.20, 14.98, -47.87)
CIE-LCHlch(51.20, 50.16, 287.38°)
OKLaboklab(58.46% -0.0048 -0.1361)
OKLCHoklch(58.46% 0.136 268)
XYZxyz(21.4937, 19.4387, 59.7344)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CC #CCAF59
analogous
#59AFCC #5976CC #7659CC
triadic
#5976CC #CC5976 #76CC59
tetradic
#5976CC #CC59AF #CCAF59 #59CC76
square
#5976CC #CC59AF #CCAF59 #59CC76
split-complementary
#5976CC #CC7659 #AFCC59
monochromatic
#283F83 #3655B1 #5976CC #889DDA #B7C3E9

Accessibility & contrast

On white

4.30
#5976CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5976CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CC#FFFFFF#000000##000000
##5976CC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#0C8997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976cc;
/* rgb */ color: rgb(89, 118, 204);
/* oklch */ color: oklch(58.5% 0.136 268.0);
Tailwind
colors: {
  custom: {
    50: '#909ddc',
    500: '#5976cc',
    950: '#000000',
  },
}
SCSS
$custom: #5976cc;
$custom-light: #909ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5976cc",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 224.87,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.13615,
    "h": 268
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#5976CC
secondary
#D8CCA9
accent
#B84BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CC

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

Preview Lab → · Contrast checker → · Palette generator →

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