#5282CD#5282CD

#5282CD is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.7% C 0.126 H 259.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5282CD
RGBrgb(82, 130, 205)
HSLhsl(217, 55%, 56%)
HSVhsv(217, 60%, 80%)
CMYKcmyk(60%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.20, 6.61, -43.69)
CIE-LCHlch(54.20, 44.19, 278.60°)
OKLaboklab(60.7% -0.0241 -0.1238)
OKLCHoklch(60.7% 0.126 259)
XYZxyz(22.4779, 22.1649, 60.8395)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282CD #CD9D52
analogous
#52C0CD #5282CD #6052CD
triadic
#5282CD #CD5282 #82CD52
tetradic
#5282CD #CD52C0 #CD9D52 #52CD60
square
#5282CD #CD52C0 #CD9D52 #52CD60
split-complementary
#5282CD #CD6052 #C0CD52
monochromatic
#254880 #3363AF #5282CD #81A4DB #B1C7E8

Accessibility & contrast

On white

3.86
#5282CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5282CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282CD#FFFFFF#000000##000000
##5282CD1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5282cd;
/* rgb */ color: rgb(82, 130, 205);
/* oklch */ color: oklch(60.7% 0.126 259.0);
Tailwind
colors: {
  custom: {
    50: '#8da5dc',
    500: '#5282cd',
    950: '#000000',
  },
}
SCSS
$custom: #5282cd;
$custom-light: #8da5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5282cd",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 216.585,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.607,
    "c": 0.12617,
    "h": 259
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#5282CD
secondary
#D7C3A4
accent
#A449DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5282CD

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

Preview Lab → · Contrast checker → · Palette generator →

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