#5977CF#5977CF

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

Color values

HEX#5977CF
RGBrgb(89, 119, 207)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57%, 42.5%, 0%, 18.8%)
CIE-LABlab(51.63, 15.35, -48.88)
CIE-LCHlch(51.63, 51.24, 287.44°)
OKLaboklab(58.85% -0.0053 -0.139)
OKLCHoklch(58.85% 0.139 267.8)
XYZxyz(21.9754, 19.8208, 61.6871)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977CF #CFB159
analogous
#59B2CF #5977CF #7659CF
triadic
#5977CF #CF5977 #77CF59
tetradic
#5977CF #CF59B2 #CFB159 #59CF76
square
#5977CF #CF59B2 #CFB159 #59CF76
split-complementary
#5977CF #CF7659 #B2CF59
monochromatic
#273F87 #3556B6 #5977CF #889EDD #B8C5EA

Accessibility & contrast

On white

4.23
#5977CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5977CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977CF#FFFFFF#000000##000000
##5977CF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5977cf;
/* rgb */ color: rgb(89, 119, 207);
/* oklch */ color: oklch(58.8% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#919dde',
    500: '#5977cf',
    950: '#000000',
  },
}
SCSS
$custom: #5977cf;
$custom-light: #919dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5977cf",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 224.746,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.13913,
    "h": 267.8
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5977CF

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

Preview Lab → · Contrast checker → · Palette generator →

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