#5A80CD#5A80CD

#5A80CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.125 H 263.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5A80CD
RGBrgb(90, 128, 205)
HSLhsl(220, 53%, 58%)
HSVhsv(220, 56%, 80%)
CMYKcmyk(56.1%, 37.6%, 0%, 19.6%)
CIE-LABlab(54.05, 9.43, -43.91)
CIE-LCHlch(54.05, 44.91, 282.13°)
OKLaboklab(60.69% -0.0147 -0.1244)
OKLCHoklch(60.69% 0.125 263.3)
XYZxyz(22.9513, 22.0180, 60.7862)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80CD #CDA75A
analogous
#5AB9CD #5A80CD #6D5ACD
triadic
#5A80CD #CD5A80 #80CD5A
tetradic
#5A80CD #CD5AB9 #CDA75A #5ACD6D
square
#5A80CD #CD5AB9 #CDA75A #5ACD6D
split-complementary
#5A80CD #CD6D5A #B9CD5A
monochromatic
#284784 #3660B3 #5A80CD #89A4DB #B8C8E9

Accessibility & contrast

On white

3.89
#5A80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5A80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80CD#FFFFFF#000000##000000
##5A80CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#09919D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a80cd;
/* rgb */ color: rgb(90, 128, 205);
/* oklch */ color: oklch(60.7% 0.125 263.3);
Tailwind
colors: {
  custom: {
    50: '#91a4dc',
    500: '#5a80cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a80cd;
$custom-light: #91a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80cd",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 220.174,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.12525,
    "h": 263.3
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#5A80CD
secondary
#D8C9AA
accent
#AD4BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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