#5A80BB#5A80BB

#5A80BB is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.7% C 0.100 H 258.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A80BB
RGBrgb(90, 128, 187)
HSLhsl(216, 42%, 54%)
HSVhsv(216, 52%, 73%)
CMYKcmyk(51.9%, 31.6%, 0%, 26.7%)
CIE-LABlab(53.17, 3.67, -35.04)
CIE-LCHlch(53.17, 35.23, 275.98°)
OKLaboklab(59.72% -0.0193 -0.0985)
OKLCHoklch(59.72% 0.1 258.9)
XYZxyz(20.9022, 21.1983, 49.9943)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80BB #BB955A
analogous
#5AB1BB #5A80BB #655ABB
triadic
#5A80BB #BB5A80 #80BB5A
tetradic
#5A80BB #BB5AB1 #BB955A #5ABB65
square
#5A80BB #BB5AB1 #BB955A #5ABB65
split-complementary
#5A80BB #BB655A #B1BB5A
monochromatic
#2D466D #3F6299 #5A80BB #85A1CD #B1C3DF

Accessibility & contrast

On white

4.01
#5A80BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5A80BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80BB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80BB#FFFFFF#000000##000000
##5A80BB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#2A8D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a80bb;
/* rgb */ color: rgb(90, 128, 187);
/* oklch */ color: oklch(59.7% 0.100 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ea4cf',
    500: '#5a80bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a80bb;
$custom-light: #8ea4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80bb",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 187
  },
  "hsl": {
    "h": 216.495,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.10042,
    "h": 258.9
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#5A80BB
secondary
#CDBDA4
accent
#A156D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A80BB

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

Preview Lab → · Contrast checker → · Palette generator →

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