#5977BB#5977BB

#5977BB is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.7% C 0.111 H 265.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5977BB
RGBrgb(89, 119, 187)
HSLhsl(222, 42%, 54%)
HSVhsv(222, 52%, 73%)
CMYKcmyk(52.4%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.57, 8.86, -39.12)
CIE-LCHlch(50.57, 40.11, 282.76°)
OKLaboklab(57.68% -0.0095 -0.1105)
OKLCHoklch(57.68% 0.111 265.1)
XYZxyz(19.6833, 18.9040, 49.6157)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977BB #BB9D59
analogous
#59A8BB #5977BB #6C59BB
triadic
#5977BB #BB5977 #77BB59
tetradic
#5977BB #BB59A8 #BB9D59 #59BB6C
square
#5977BB #BB59A8 #BB9D59 #59BB6C
split-complementary
#5977BB #BB6C59 #A8BB59
monochromatic
#2D406D #3E5A98 #5977BB #849BCD #B0BEDF

Accessibility & contrast

On white

4.39
#5977BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5977BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977BB#FFFFFF#000000##000000
##5977BB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#298690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5977bb;
/* rgb */ color: rgb(89, 119, 187);
/* oklch */ color: oklch(57.7% 0.111 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9dd0',
    500: '#5977bb',
    950: '#000000',
  },
}
SCSS
$custom: #5977bb;
$custom-light: #8e9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5977bb",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 221.633,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.11089,
    "h": 265.1
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#5977BB
secondary
#CDC0A3
accent
#AC56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5977BB

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

Preview Lab → · Contrast checker → · Palette generator →

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