#5976BA#5976BA

#5976BA is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.4% C 0.111 H 265.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5976BA
RGBrgb(89, 118, 186)
HSLhsl(222, 41%, 54%)
HSVhsv(222, 52%, 73%)
CMYKcmyk(52.2%, 36.6%, 0%, 27.1%)
CIE-LABlab(50.24, 9.15, -39.06)
CIE-LCHlch(50.24, 40.12, 283.18°)
OKLaboklab(57.41% -0.0086 -0.1103)
OKLCHoklch(57.41% 0.111 265.6)
XYZxyz(19.4582, 18.6245, 49.0144)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976BA #BA9D59
analogous
#59A7BA #5976BA #6D59BA
triadic
#5976BA #BA5976 #76BA59
tetradic
#5976BA #BA59A7 #BA9D59 #59BA6D
square
#5976BA #BA59A7 #BA9D59 #59BA6D
split-complementary
#5976BA #BA6D59 #A7BA59
monochromatic
#2D406C #3F5997 #5976BA #849ACC #AFBDDE

Accessibility & contrast

On white

4.44
#5976BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5976BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976BA#FFFFFF#000000##000000
##5976BA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#2B858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5976ba;
/* rgb */ color: rgb(89, 118, 186);
/* oklch */ color: oklch(57.4% 0.111 265.6);
Tailwind
colors: {
  custom: {
    50: '#8e9dcf',
    500: '#5976ba',
    950: '#000000',
  },
}
SCSS
$custom: #5976ba;
$custom-light: #8e9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ba",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 222.062,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.11065,
    "h": 265.6
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#5976BA
secondary
#CCC0A3
accent
#AD57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5976BA

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

Preview Lab → · Contrast checker → · Palette generator →

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