#5A80CC#5A80CC

#5A80CC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.124 H 263.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5A80CC
RGBrgb(90, 128, 204)
HSLhsl(220, 53%, 58%)
HSVhsv(220, 56%, 80%)
CMYKcmyk(55.9%, 37.3%, 0%, 20%)
CIE-LABlab(53.99, 9.11, -43.43)
CIE-LCHlch(53.99, 44.37, 281.85°)
OKLaboklab(60.63% -0.0149 -0.1229)
OKLCHoklch(60.63% 0.124 263.1)
XYZxyz(22.8310, 21.9698, 60.1525)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80CC #CCA65A
analogous
#5AB9CC #5A80CC #6D5ACC
triadic
#5A80CC #CC5A80 #80CC5A
tetradic
#5A80CC #CC5AB9 #CCA65A #5ACC6D
square
#5A80CC #CC5AB9 #CCA65A #5ACC6D
split-complementary
#5A80CC #CC6D5A #B9CC5A
monochromatic
#294783 #3760B2 #5A80CC #89A4DA #B7C8E9

Accessibility & contrast

On white

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

On black

5.39
#5A80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80CC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80CC#FFFFFF#000000##000000
##5A80CC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#0D919C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a80cc;
/* rgb */ color: rgb(90, 128, 204);
/* oklch */ color: oklch(60.6% 0.124 263.1);
Tailwind
colors: {
  custom: {
    50: '#91a4dc',
    500: '#5a80cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a80cc;
$custom-light: #91a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80cc",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 220,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.12385,
    "h": 263.1
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A80CC

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

Preview Lab → · Contrast checker → · Palette generator →

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