#5281CD#5281CD

#5281CD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.127 H 259.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5281CD
RGBrgb(82, 129, 205)
HSLhsl(217, 55%, 56%)
HSVhsv(217, 60%, 80%)
CMYKcmyk(60%, 37.1%, 0%, 19.6%)
CIE-LABlab(53.92, 7.21, -44.14)
CIE-LCHlch(53.92, 44.72, 279.28°)
OKLaboklab(60.48% -0.023 -0.1252)
OKLCHoklch(60.48% 0.127 259.6)
XYZxyz(22.3455, 21.9002, 60.7954)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281CD #CD9E52
analogous
#52BFCD #5281CD #6152CD
triadic
#5281CD #CD5281 #81CD52
tetradic
#5281CD #CD52BF #CD9E52 #52CD61
square
#5281CD #CD52BF #CD9E52 #52CD61
split-complementary
#5281CD #CD6152 #BFCD52
monochromatic
#254880 #3362AF #5281CD #81A4DB #B1C6E8

Accessibility & contrast

On white

3.90
#5281CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5281CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281CD#FFFFFF#000000##000000
##5281CD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#507CCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5281cd;
/* rgb */ color: rgb(82, 129, 205);
/* oklch */ color: oklch(60.5% 0.127 259.6);
Tailwind
colors: {
  custom: {
    50: '#8da5dc',
    500: '#5281cd',
    950: '#000000',
  },
}
SCSS
$custom: #5281cd;
$custom-light: #8da5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5281cd",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 217.073,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.12725,
    "h": 259.6
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5281CD

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

Preview Lab → · Contrast checker → · Palette generator →

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