#5976BF#5976BF

#5976BF is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.7% C 0.118 H 266.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5976BF
RGBrgb(89, 118, 191)
HSLhsl(223, 44%, 55%)
HSVhsv(223, 53%, 75%)
CMYKcmyk(53.4%, 38.2%, 0%, 25.1%)
CIE-LABlab(50.50, 10.75, -41.54)
CIE-LCHlch(50.50, 42.91, 284.51°)
OKLaboklab(57.69% -0.0074 -0.1175)
OKLCHoklch(57.69% 0.118 266.4)
XYZxyz(19.9991, 18.8409, 51.8629)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976BF #BFA259
analogous
#59A9BF #5976BF #6F59BF
triadic
#5976BF #BF5976 #76BF59
tetradic
#5976BF #BF59A9 #BFA259 #59BF6F
square
#5976BF #BF59A9 #BFA259 #59BF6F
split-complementary
#5976BF #BF6F59 #A9BF59
monochromatic
#2C4072 #3D589E #5976BF #859AD0 #B1BFE1

Accessibility & contrast

On white

4.40
#5976BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5976BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976BF#FFFFFF#000000##000000
##5976BF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#258691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5976bf;
/* rgb */ color: rgb(89, 118, 191);
/* oklch */ color: oklch(57.7% 0.118 266.4);
Tailwind
colors: {
  custom: {
    50: '#8e9dd2',
    500: '#5976bf',
    950: '#000000',
  },
}
SCSS
$custom: #5976bf;
$custom-light: #8e9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5976bf",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 222.941,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.11777,
    "h": 266.4
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#5976BF
secondary
#CFC3A4
accent
#B054D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5976BF

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

Preview Lab → · Contrast checker → · Palette generator →

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