#5977B2#5977B2

#5977B2 is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.2% C 0.098 H 263.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5977B2
RGBrgb(89, 119, 178)
HSLhsl(220, 37%, 52%)
HSVhsv(220, 50%, 70%)
CMYKcmyk(50%, 33.1%, 0%, 30.2%)
CIE-LABlab(50.13, 6.01, -34.62)
CIE-LCHlch(50.13, 35.14, 279.84°)
OKLaboklab(57.2% -0.0118 -0.0974)
OKLCHoklch(57.2% 0.098 263.1)
XYZxyz(18.7499, 18.5306, 44.6996)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977B2 #B29459
analogous
#59A4B2 #5977B2 #6759B2
triadic
#5977B2 #B25977 #77B259
tetradic
#5977B2 #B259A4 #B29459 #59B267
square
#5977B2 #B259A4 #B29459 #59B267
split-complementary
#5977B2 #B26759 #A4B259
monochromatic
#2E4063 #415B8D #5977B2 #8399C5 #ADBCD9

Accessibility & contrast

On white

4.46
#5977B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5977B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977B2#FFFFFF#000000##000000
##5977B21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB4
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#32848C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5977b2;
/* rgb */ color: rgb(89, 119, 178);
/* oklch */ color: oklch(57.2% 0.098 263.1);
Tailwind
colors: {
  custom: {
    50: '#8d9ec9',
    500: '#5977b2',
    950: '#000000',
  },
}
SCSS
$custom: #5977b2;
$custom-light: #8d9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5977b2",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 219.775,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.0981,
    "h": 263.1
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#5977B2
secondary
#C7BAA0
accent
#A65BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5977B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5977B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva