#5A80BC#5A80BC

#5A80BC is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.102 H 259.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5A80BC
RGBrgb(90, 128, 188)
HSLhsl(217, 42%, 55%)
HSVhsv(217, 52%, 74%)
CMYKcmyk(52.1%, 31.9%, 0%, 26.3%)
CIE-LABlab(53.21, 3.99, -35.54)
CIE-LCHlch(53.21, 35.77, 276.40°)
OKLaboklab(59.77% -0.019 -0.1)
OKLCHoklch(59.77% 0.102 259.2)
XYZxyz(21.0096, 21.2413, 50.5601)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80BC #BC965A
analogous
#5AB1BC #5A80BC #655ABC
triadic
#5A80BC #BC5A80 #80BC5A
tetradic
#5A80BC #BC5AB1 #BC965A #5ABC65
square
#5A80BC #BC5AB1 #BC965A #5ABC65
split-complementary
#5A80BC #BC655A #B1BC5A
monochromatic
#2D466F #3F629A #5A80BC #86A2CE #B1C3DF

Accessibility & contrast

On white

4.00
#5A80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5A80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80BC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80BC#FFFFFF#000000##000000
##5A80BC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#298D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a80bc;
/* rgb */ color: rgb(90, 128, 188);
/* oklch */ color: oklch(59.8% 0.102 259.2);
Tailwind
colors: {
  custom: {
    50: '#8fa4d0',
    500: '#5a80bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a80bc;
$custom-light: #8fa4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80bc",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 216.735,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.10179,
    "h": 259.2
  },
  "luminance": 0.21243
}

Semantic roles & 50–950 ramp

primary
#5A80BC
secondary
#CEBEA4
accent
#A256D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A80BC

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

Preview Lab → · Contrast checker → · Palette generator →

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