#5977DB#5977DB

#5977DB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.156 H 268.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5977DB
RGBrgb(89, 119, 219)
HSLhsl(226, 64%, 60%)
HSVhsv(226, 59%, 86%)
CMYKcmyk(59.4%, 45.7%, 0%, 14.1%)
CIE-LABlab(52.32, 19.33, -54.58)
CIE-LCHlch(52.32, 57.90, 289.50°)
OKLaboklab(59.6% -0.0033 -0.1558)
OKLCHoklch(59.6% 0.156 268.8)
XYZxyz(23.4985, 20.4300, 69.7092)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977DB #DBBD59
analogous
#59B8DB #5977DB #7C59DB
triadic
#5977DB #DB5977 #77DB59
tetradic
#5977DB #DB59B8 #DBBD59 #59DB7C
square
#5977DB #DB59B8 #DBBD59 #59DB7C
split-complementary
#5977DB #DB7C59 #B8DB59
monochromatic
#213D99 #2C51CB #5977DB #8BA0E6 #BEC9F1

Accessibility & contrast

On white

4.13
#5977DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5977DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977DB#FFFFFF#000000##000000
##5977DB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5977db;
/* rgb */ color: rgb(89, 119, 219);
/* oklch */ color: oklch(59.6% 0.156 268.8);
Tailwind
colors: {
  custom: {
    50: '#929de7',
    500: '#5977db',
    950: '#000000',
  },
}
SCSS
$custom: #5977db;
$custom-light: #929de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5977db",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 226.154,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.1558,
    "h": 268.8
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#5977DB
secondary
#E1D5AF
accent
#A319CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5977DB

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

Preview Lab → · Contrast checker → · Palette generator →

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