#5A80DB#5A80DB

#5A80DB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.145 H 265.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5A80DB
RGBrgb(90, 128, 219)
HSLhsl(222, 64%, 61%)
HSVhsv(222, 59%, 86%)
CMYKcmyk(58.9%, 41.6%, 0%, 14.1%)
CIE-LABlab(54.79, 14.03, -50.64)
CIE-LCHlch(54.79, 52.55, 285.49°)
OKLaboklab(61.5% -0.0118 -0.1441)
OKLCHoklch(61.5% 0.145 265.3)
XYZxyz(24.7174, 22.7244, 70.0878)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80DB #DBB55A
analogous
#5AC0DB #5A80DB #755ADB
triadic
#5A80DB #DB5A80 #80DB5A
tetradic
#5A80DB #DB5AC0 #DBB55A #5ADB75
square
#5A80DB #DB5AC0 #DBB55A #5ADB75
split-complementary
#5A80DB #DB755A #C0DB5A
monochromatic
#214599 #2C5BCB #5A80DB #8CA7E6 #BECDF1

Accessibility & contrast

On white

3.79
#5A80DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5A80DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80DB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80DB#FFFFFF#000000##000000
##5A80DB1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a80db;
/* rgb */ color: rgb(90, 128, 219);
/* oklch */ color: oklch(61.5% 0.145 265.3);
Tailwind
colors: {
  custom: {
    50: '#93a4e6',
    500: '#5a80db',
    950: '#000000',
  },
}
SCSS
$custom: #5a80db;
$custom-light: #93a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80db",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 222.326,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.14455,
    "h": 265.3
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#5A80DB
secondary
#E1D2B0
accent
#971ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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