#5A80CA#5A80CA

#5A80CA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.121 H 262.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5A80CA
RGBrgb(90, 128, 202)
HSLhsl(220, 51%, 57%)
HSVhsv(220, 55%, 79%)
CMYKcmyk(55.4%, 36.6%, 0%, 20.8%)
CIE-LABlab(53.89, 8.46, -42.45)
CIE-LCHlch(53.89, 43.29, 281.27°)
OKLaboklab(60.52% -0.0154 -0.1201)
OKLCHoklch(60.52% 0.121 262.7)
XYZxyz(22.5927, 21.8745, 58.8973)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80CA #CAA45A
analogous
#5AB8CA #5A80CA #6C5ACA
triadic
#5A80CA #CA5A80 #80CA5A
tetradic
#5A80CA #CA5AB8 #CAA45A #5ACA6C
square
#5A80CA #CA5AB8 #CAA45A #5ACA6C
split-complementary
#5A80CA #CA6C5A #B8CA5A
monochromatic
#294780 #3860AF #5A80CA #88A4D9 #B7C7E8

Accessibility & contrast

On white

3.91
#5A80CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5A80CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80CA#FFFFFF#000000##000000
##5A80CA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#12909B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a80ca;
/* rgb */ color: rgb(90, 128, 202);
/* oklch */ color: oklch(60.5% 0.121 262.7);
Tailwind
colors: {
  custom: {
    50: '#90a4da',
    500: '#5a80ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a80ca;
$custom-light: #90a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80ca",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 219.643,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.12109,
    "h": 262.7
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#5A80CA
secondary
#D7C7A9
accent
#AB4DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A80CA

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

Preview Lab → · Contrast checker → · Palette generator →

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