#5D80CC#5D80CC

#5D80CC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.123 H 264.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5D80CC
RGBrgb(93, 128, 204)
HSLhsl(221, 52%, 58%)
HSVhsv(221, 54%, 80%)
CMYKcmyk(54.4%, 37.3%, 0%, 20%)
CIE-LABlab(54.16, 9.75, -43.16)
CIE-LCHlch(54.16, 44.25, 282.74°)
OKLaboklab(60.8% -0.0121 -0.1221)
OKLCHoklch(60.8% 0.123 264.3)
XYZxyz(23.1288, 22.1234, 60.1665)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D80CC #CCA95D
analogous
#5DB7CC #5D80CC #715DCC
triadic
#5D80CC #CC5D80 #80CC5D
tetradic
#5D80CC #CC5DB7 #CCA95D #5DCC71
square
#5D80CC #CC5DB7 #CCA95D #5DCC71
split-complementary
#5D80CC #CC715D #B7CC5D
monochromatic
#2A4685 #385FB3 #5D80CC #8CA4DB #BAC9E9

Accessibility & contrast

On white

3.87
#5D80CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5D80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D80CC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D80CC#FFFFFF#000000##000000
##5D80CC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#1E919C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d80cc;
/* rgb */ color: rgb(93, 128, 204);
/* oklch */ color: oklch(60.8% 0.123 264.3);
Tailwind
colors: {
  custom: {
    50: '#92a4dc',
    500: '#5d80cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d80cc;
$custom-light: #92a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d80cc",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 221.081,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.12272,
    "h": 264.3
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#5D80CC
secondary
#D9CBAC
accent
#AE4CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D80CC

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

Preview Lab → · Contrast checker → · Palette generator →

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