#5977DF#5977DF

#5977DF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.161 H 269.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5977DF
RGBrgb(89, 119, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.1%, 46.6%, 0%, 12.5%)
CIE-LABlab(52.56, 20.66, -56.46)
CIE-LCHlch(52.56, 60.12, 290.10°)
OKLaboklab(59.85% -0.0028 -0.1613)
OKLCHoklch(59.85% 0.161 269)
XYZxyz(24.0314, 20.6432, 72.5159)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977DF #DFC159
analogous
#59BADF #5977DF #7E59DF
triadic
#5977DF #DF5977 #77DF59
tetradic
#5977DF #DF59BA #DFC159 #59DF7E
square
#5977DF #DF59BA #DFC159 #59DF7E
split-complementary
#5977DF #DF7E59 #BADF59
monochromatic
#1F3B9F #294FD2 #5977DF #8CA1E9 #C0CBF3

Accessibility & contrast

On white

4.09
#5977DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5977DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977DF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977DF#FFFFFF#000000##000000
##5977DF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5977df;
/* rgb */ color: rgb(89, 119, 223);
/* oklch */ color: oklch(59.9% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5977df',
    950: '#000000',
  },
}
SCSS
$custom: #5977df;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5977df",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 226.567,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.16129,
    "h": 269
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#5977DF
secondary
#E3D8B1
accent
#A616D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977DF

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

Preview Lab → · Contrast checker → · Palette generator →

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