#5A80DD#5A80DD

#5A80DD is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.147 H 265.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A80DD
RGBrgb(90, 128, 221)
HSLhsl(223, 66%, 61%)
HSVhsv(223, 59%, 87%)
CMYKcmyk(59.3%, 42.1%, 0%, 13.3%)
CIE-LABlab(54.90, 14.69, -51.59)
CIE-LCHlch(54.90, 53.64, 285.90°)
OKLaboklab(61.62% -0.0114 -0.1468)
OKLCHoklch(61.62% 0.147 265.6)
XYZxyz(24.9823, 22.8304, 71.4828)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80DD #DDB75A
analogous
#5AC2DD #5A80DD #755ADD
triadic
#5A80DD #DD5A80 #80DD5A
tetradic
#5A80DD #DD5AC2 #DDB75A #5ADD75
square
#5A80DD #DD5AC2 #DDB75A #5ADD75
split-complementary
#5A80DD #DD755A #C2DD5A
monochromatic
#20449C #2B5ACF #5A80DD #8DA7E7 #BFCEF2

Accessibility & contrast

On white

3.77
#5A80DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5A80DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80DD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80DD#FFFFFF#000000##000000
##5A80DD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a80dd;
/* rgb */ color: rgb(90, 128, 221);
/* oklch */ color: oklch(61.6% 0.147 265.6);
Tailwind
colors: {
  custom: {
    50: '#93a4e8',
    500: '#5a80dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a80dd;
$custom-light: #93a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80dd",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 222.595,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.14729,
    "h": 265.6
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#5A80DD
secondary
#E2D4B1
accent
#9918CE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A80DD

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

Preview Lab → · Contrast checker → · Palette generator →

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