#5082CD#5082CD

#5082CD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.6% C 0.127 H 258.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5082CD
RGBrgb(80, 130, 205)
HSLhsl(216, 56%, 56%)
HSVhsv(216, 61%, 80%)
CMYKcmyk(61%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.11, 6.22, -43.85)
CIE-LCHlch(54.11, 44.29, 278.08°)
OKLaboklab(60.6% -0.0257 -0.1243)
OKLCHoklch(60.6% 0.127 258.3)
XYZxyz(22.3064, 22.0765, 60.8314)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5082CD #CD9B50
analogous
#50C0CD #5082CD #5C50CD
triadic
#5082CD #CD5082 #82CD50
tetradic
#5082CD #CD50C0 #CD9B50 #50CD5C
square
#5082CD #CD50C0 #CD9B50 #50CD5C
split-complementary
#5082CD #CD5C50 #C0CD50
monochromatic
#24487E #3263AE #5082CD #80A4DB #AFC6E8

Accessibility & contrast

On white

3.88
#5082CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5082CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5082CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5082CD#FFFFFF#000000##000000
##5082CD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5082cd;
/* rgb */ color: rgb(80, 130, 205);
/* oklch */ color: oklch(60.6% 0.127 258.3);
Tailwind
colors: {
  custom: {
    50: '#8ca5dc',
    500: '#5082cd',
    950: '#000000',
  },
}
SCSS
$custom: #5082cd;
$custom-light: #8ca5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5082cd",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.12697,
    "h": 258.3
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5082CD

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

Preview Lab → · Contrast checker → · Palette generator →

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