#5976AC#5976AC

#5976AC is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.7% C 0.091 H 262.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5976AC
RGBrgb(89, 118, 172)
HSLhsl(219, 33%, 51%)
HSVhsv(219, 48%, 67%)
CMYKcmyk(48.3%, 31.4%, 0%, 32.5%)
CIE-LABlab(49.57, 4.74, -32.03)
CIE-LCHlch(49.57, 32.38, 278.42°)
OKLaboklab(56.66% -0.0122 -0.0899)
OKLCHoklch(56.66% 0.091 262.3)
XYZxyz(18.0422, 18.0581, 41.5566)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976AC #AC8F59
analogous
#599FAC #5976AC #6559AC
triadic
#5976AC #AC5976 #76AC59
tetradic
#5976AC #AC599F #AC8F59 #59AC65
square
#5976AC #AC599F #AC8F59 #59AC65
split-complementary
#5976AC #AC6559 #9FAC59
monochromatic
#2E3E5C #435A85 #5976AC #8298C0 #ABB9D5

Accessibility & contrast

On white

4.55
#5976AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5976AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976AC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976AC#FFFFFF#000000##000000
##5976AC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#378289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5976ac;
/* rgb */ color: rgb(89, 118, 172);
/* oklch */ color: oklch(56.7% 0.091 262.3);
Tailwind
colors: {
  custom: {
    50: '#8c9dc5',
    500: '#5976ac',
    950: '#000000',
  },
}
SCSS
$custom: #5976ac;
$custom-light: #8c9dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ac",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 219.036,
    "s": 33.333,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.09071,
    "h": 262.3
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#5976AC
secondary
#C3B69E
accent
#A45EC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5976AC

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

Preview Lab → · Contrast checker → · Palette generator →

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