#5977DE#5977DE

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

Color values

HEX#5977DE
RGBrgb(89, 119, 222)
HSLhsl(226, 67%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(59.9%, 46.4%, 0%, 12.9%)
CIE-LABlab(52.50, 20.33, -55.99)
CIE-LCHlch(52.50, 59.57, 289.96°)
OKLaboklab(59.79% -0.0029 -0.1599)
OKLCHoklch(59.79% 0.16 269)
XYZxyz(23.8970, 20.5894, 71.8079)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977DE #DEC059
analogous
#59B9DE #5977DE #7D59DE
triadic
#5977DE #DE5977 #77DE59
tetradic
#5977DE #DE59B9 #DEC059 #59DE7D
square
#5977DE #DE59B9 #DEC059 #59DE7D
split-complementary
#5977DE #DE7D59 #B9DE59
monochromatic
#1F3C9D #294FD0 #5977DE #8CA1E8 #BFCBF2

Accessibility & contrast

On white

4.10
#5977DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5977DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977DE#FFFFFF#000000##000000
##5977DE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5977de;
/* rgb */ color: rgb(89, 119, 222);
/* oklch */ color: oklch(59.8% 0.160 269.0);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5977de',
    950: '#000000',
  },
}
SCSS
$custom: #5977de;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5977de",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 226.466,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.15993,
    "h": 269
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5977DE

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

Preview Lab → · Contrast checker → · Palette generator →

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