#5976AB#5976AB

#5976AB is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.6% C 0.089 H 261.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5976AB
RGBrgb(89, 118, 171)
HSLhsl(219, 33%, 51%)
HSVhsv(219, 48%, 67%)
CMYKcmyk(48%, 31%, 0%, 32.9%)
CIE-LABlab(49.52, 4.43, -31.52)
CIE-LCHlch(49.52, 31.83, 278.01°)
OKLaboklab(56.61% -0.0125 -0.0884)
OKLCHoklch(56.61% 0.089 261.9)
XYZxyz(17.9465, 18.0198, 41.0527)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976AB #AB8E59
analogous
#599FAB #5976AB #6559AB
triadic
#5976AB #AB5976 #76AB59
tetradic
#5976AB #AB599F #AB8E59 #59AB65
square
#5976AB #AB599F #AB8E59 #59AB65
split-complementary
#5976AB #AB6559 #9FAB59
monochromatic
#2E3E5B #435A84 #5976AB #8298C0 #AAB9D4

Accessibility & contrast

On white

4.56
#5976AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5976AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976AB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976AB#FFFFFF#000000##000000
##5976AB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAD
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#378189
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5976ab;
/* rgb */ color: rgb(89, 118, 171);
/* oklch */ color: oklch(56.6% 0.089 261.9);
Tailwind
colors: {
  custom: {
    50: '#8c9dc4',
    500: '#5976ab',
    950: '#000000',
  },
}
SCSS
$custom: #5976ab;
$custom-light: #8c9dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ab",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 171
  },
  "hsl": {
    "h": 218.78,
    "s": 32.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.08929,
    "h": 261.9
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#5976AB
secondary
#C2B59E
accent
#A35FC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5976AB

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

Preview Lab → · Contrast checker → · Palette generator →

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