#5977DD#5977DD

#5977DD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.159 H 268.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5977DD
RGBrgb(89, 119, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(59.7%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.44, 20.00, -55.52)
CIE-LCHlch(52.44, 59.01, 289.81°)
OKLaboklab(59.72% -0.0031 -0.1585)
OKLCHoklch(59.72% 0.159 268.9)
XYZxyz(23.7634, 20.5360, 71.1042)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977DD #DDBF59
analogous
#59B9DD #5977DD #7D59DD
triadic
#5977DD #DD5977 #77DD59
tetradic
#5977DD #DD59B9 #DDBF59 #59DD7D
square
#5977DD #DD59B9 #DDBF59 #59DD7D
split-complementary
#5977DD #DD7D59 #B9DD59
monochromatic
#203C9C #2A50CF #5977DD #8CA1E7 #BFCAF2

Accessibility & contrast

On white

4.11
#5977DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5977DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977DD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977DD#FFFFFF#000000##000000
##5977DD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5977dd;
/* rgb */ color: rgb(89, 119, 221);
/* oklch */ color: oklch(59.7% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#939de8',
    500: '#5977dd',
    950: '#000000',
  },
}
SCSS
$custom: #5977dd;
$custom-light: #939de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5977dd",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 226.364,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.15855,
    "h": 268.9
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#5977DD
secondary
#E2D7B0
accent
#A418CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977DD

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

Preview Lab → · Contrast checker → · Palette generator →

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