#5977CC#5977CC

#5977CC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.135 H 267.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5977CC
RGBrgb(89, 119, 204)
HSLhsl(224, 53%, 57%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(56.4%, 41.7%, 0%, 20%)
CIE-LABlab(51.47, 14.37, -47.44)
CIE-LCHlch(51.47, 49.57, 286.85°)
OKLaboklab(58.67% -0.0059 -0.1348)
OKLCHoklch(58.67% 0.135 267.5)
XYZxyz(21.6121, 19.6755, 59.7739)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977CC #CCAE59
analogous
#59B0CC #5977CC #7559CC
triadic
#5977CC #CC5977 #77CC59
tetradic
#5977CC #CC59B0 #CCAE59 #59CC75
square
#5977CC #CC59B0 #CCAE59 #59CC75
split-complementary
#5977CC #CC7559 #B0CC59
monochromatic
#284083 #3657B1 #5977CC #889DDA #B7C4E9

Accessibility & contrast

On white

4.25
#5977CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5977CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977CC#FFFFFF#000000##000000
##5977CC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#0B8A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5977cc;
/* rgb */ color: rgb(89, 119, 204);
/* oklch */ color: oklch(58.7% 0.135 267.5);
Tailwind
colors: {
  custom: {
    50: '#909ddc',
    500: '#5977cc',
    950: '#000000',
  },
}
SCSS
$custom: #5977cc;
$custom-light: #909ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5977cc",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 224.348,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.13493,
    "h": 267.5
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#5977CC
secondary
#D8CCA9
accent
#B74BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5977CC

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

Preview Lab → · Contrast checker → · Palette generator →

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