#5976BE#5976BE

#5976BE is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.6% C 0.116 H 266.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5976BE
RGBrgb(89, 118, 190)
HSLhsl(223, 44%, 55%)
HSVhsv(223, 53%, 75%)
CMYKcmyk(53.2%, 37.9%, 0%, 25.5%)
CIE-LABlab(50.45, 10.43, -41.04)
CIE-LCHlch(50.45, 42.35, 284.26°)
OKLaboklab(57.64% -0.0076 -0.1161)
OKLCHoklch(57.64% 0.116 266.2)
XYZxyz(19.8894, 18.7970, 51.2853)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976BE #BEA159
analogous
#59A9BE #5976BE #6E59BE
triadic
#5976BE #BE5976 #76BE59
tetradic
#5976BE #BE59A9 #BEA159 #59BE6E
square
#5976BE #BE59A9 #BEA159 #59BE6E
split-complementary
#5976BE #BE6E59 #A9BE59
monochromatic
#2C4071 #3D599D #5976BE #859ACF #B1BFE0

Accessibility & contrast

On white

4.41
#5976BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5976BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976BE#FFFFFF#000000##000000
##5976BE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#268691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5976be;
/* rgb */ color: rgb(89, 118, 190);
/* oklch */ color: oklch(57.6% 0.116 266.2);
Tailwind
colors: {
  custom: {
    50: '#8e9dd2',
    500: '#5976be',
    950: '#000000',
  },
}
SCSS
$custom: #5976be;
$custom-light: #8e9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5976be",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 222.772,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.11635,
    "h": 266.2
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#5976BE
secondary
#CFC2A4
accent
#AF54D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5976BE

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

Preview Lab → · Contrast checker → · Palette generator →

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