#5977CE#5977CE

#5977CE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.138 H 267.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5977CE
RGBrgb(89, 119, 206)
HSLhsl(225, 54%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(56.8%, 42.2%, 0%, 19.2%)
CIE-LABlab(51.58, 15.03, -48.40)
CIE-LCHlch(51.58, 50.68, 287.25°)
OKLaboklab(58.79% -0.0055 -0.1376)
OKLCHoklch(58.79% 0.138 267.7)
XYZxyz(21.8535, 19.7720, 61.0453)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977CE #CEB059
analogous
#59B2CE #5977CE #7559CE
triadic
#5977CE #CE5977 #77CE59
tetradic
#5977CE #CE59B2 #CEB059 #59CE75
square
#5977CE #CE59B2 #CEB059 #59CE75
split-complementary
#5977CE #CE7559 #B2CE59
monochromatic
#273F85 #3556B5 #5977CE #889EDC #B8C4EA

Accessibility & contrast

On white

4.24
#5977CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5977CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977CE#FFFFFF#000000##000000
##5977CE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#038A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5977ce;
/* rgb */ color: rgb(89, 119, 206);
/* oklch */ color: oklch(58.8% 0.138 267.7);
Tailwind
colors: {
  custom: {
    50: '#909ddd',
    500: '#5977ce',
    950: '#000000',
  },
}
SCSS
$custom: #5977ce;
$custom-light: #909ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5977ce",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 224.615,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.13773,
    "h": 267.7
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#5977CE
secondary
#D9CDAA
accent
#B84ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5977CE

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

Preview Lab → · Contrast checker → · Palette generator →

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