#5A80CE#5A80CE

#5A80CE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.127 H 263.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5A80CE
RGBrgb(90, 128, 206)
HSLhsl(220, 54%, 58%)
HSVhsv(220, 56%, 81%)
CMYKcmyk(56.3%, 37.9%, 0%, 19.2%)
CIE-LABlab(54.10, 9.76, -44.40)
CIE-LCHlch(54.10, 45.46, 282.40°)
OKLaboklab(60.74% -0.0145 -0.1258)
OKLCHoklch(60.74% 0.127 263.4)
XYZxyz(23.0724, 22.0664, 61.4240)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80CE #CEA85A
analogous
#5ABACE #5A80CE #6E5ACE
triadic
#5A80CE #CE5A80 #80CE5A
tetradic
#5A80CE #CE5ABA #CEA85A #5ACE6E
square
#5A80CE #CE5ABA #CEA85A #5ACE6E
split-complementary
#5A80CE #CE6E5A #BACE5A
monochromatic
#284786 #365FB5 #5A80CE #89A4DC #B8C9EA

Accessibility & contrast

On white

3.88
#5A80CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5A80CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80CE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80CE#FFFFFF#000000##000000
##5A80CE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#05919D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a80ce;
/* rgb */ color: rgb(90, 128, 206);
/* oklch */ color: oklch(60.7% 0.127 263.4);
Tailwind
colors: {
  custom: {
    50: '#91a4dd',
    500: '#5a80ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a80ce;
$custom-light: #91a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80ce",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 206
  },
  "hsl": {
    "h": 220.345,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.12662,
    "h": 263.4
  },
  "luminance": 0.22068
}

Semantic roles & 50–950 ramp

primary
#5A80CE
secondary
#D9CAAB
accent
#AD4ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A80CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A80CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva