#5A80CB#5A80CB

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

Color values

HEX#5A80CB
RGBrgb(90, 128, 203)
HSLhsl(220, 52%, 57%)
HSVhsv(220, 56%, 80%)
CMYKcmyk(55.7%, 36.9%, 0%, 20.4%)
CIE-LABlab(53.94, 8.79, -42.94)
CIE-LCHlch(53.94, 43.83, 281.56°)
OKLaboklab(60.58% -0.0152 -0.1215)
OKLCHoklch(60.58% 0.122 262.9)
XYZxyz(22.7114, 21.9220, 59.5229)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80CB #CBA55A
analogous
#5AB9CB #5A80CB #6C5ACB
triadic
#5A80CB #CB5A80 #80CB5A
tetradic
#5A80CB #CB5AB9 #CBA55A #5ACB6C
square
#5A80CB #CB5AB9 #CBA55A #5ACB6C
split-complementary
#5A80CB #CB6C5A #B9CB5A
monochromatic
#294782 #3860B0 #5A80CB #89A4DA #B7C8E8

Accessibility & contrast

On white

3.90
#5A80CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A80CB#FFFFFF#000000##000000
##5A80CB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#10919C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a80cb;
/* rgb */ color: rgb(90, 128, 203);
/* oklch */ color: oklch(60.6% 0.122 262.9);
Tailwind
colors: {
  custom: {
    50: '#90a4db',
    500: '#5a80cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a80cb;
$custom-light: #90a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80cb",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 219.823,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.12247,
    "h": 262.9
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#5A80CB
secondary
#D7C8AA
accent
#AB4CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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