#5080CD#5080CD

#5080CD is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.129 H 259.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5080CD
RGBrgb(80, 128, 205)
HSLhsl(217, 56%, 56%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(61%, 37.6%, 0%, 19.6%)
CIE-LABlab(53.55, 7.43, -44.74)
CIE-LCHlch(53.55, 45.35, 279.43°)
OKLaboklab(60.17% -0.0236 -0.127)
OKLCHoklch(60.17% 0.129 259.5)
XYZxyz(22.0430, 21.5496, 60.7436)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5080CD #CD9D50
analogous
#50BECD #5080CD #5E50CD
triadic
#5080CD #CD5080 #80CD50
tetradic
#5080CD #CD50BE #CD9D50 #50CD5E
square
#5080CD #CD50BE #CD9D50 #50CD5E
split-complementary
#5080CD #CD5E50 #BECD50
monochromatic
#24477E #3261AE #5080CD #80A3DB #AFC5E8

Accessibility & contrast

On white

3.95
#5080CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5080CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5080CD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5080CD#FFFFFF#000000##000000
##5080CD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5080cd;
/* rgb */ color: rgb(80, 128, 205);
/* oklch */ color: oklch(60.2% 0.129 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ca4dc',
    500: '#5080cd',
    950: '#000000',
  },
}
SCSS
$custom: #5080cd;
$custom-light: #8ca4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5080cd",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 216.96,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.12914,
    "h": 259.5
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

primary
#5080CD
secondary
#D6C2A2
accent
#A549DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5080CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5080CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva