#5281DA#5281DA

#5281DA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.145 H 262.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5281DA
RGBrgb(82, 129, 218)
HSLhsl(219, 65%, 59%)
HSVhsv(219, 62%, 85%)
CMYKcmyk(62.4%, 40.8%, 0%, 14.5%)
CIE-LABlab(54.61, 11.59, -50.38)
CIE-LCHlch(54.61, 51.70, 282.95°)
OKLaboklab(61.24% -0.0201 -0.1434)
OKLCHoklch(61.24% 0.145 262)
XYZxyz(23.9804, 22.5541, 69.4057)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281DA #DAAB52
analogous
#52C5DA #5281DA #6752DA
triadic
#5281DA #DA5281 #81DA52
tetradic
#5281DA #DA52C5 #DAAB52 #52DA67
square
#5281DA #DA52C5 #DAAB52 #52DA67
split-complementary
#5281DA #DA6752 #C5DA52
monochromatic
#1F4792 #2A60C5 #5281DA #84A6E5 #B7CAF0

Accessibility & contrast

On white

3.81
#5281DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5281DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281DA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281DA#FFFFFF#000000##000000
##5281DA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DD
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5281da;
/* rgb */ color: rgb(82, 129, 218);
/* oklch */ color: oklch(61.2% 0.145 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ea5e6',
    500: '#5281da',
    950: '#000000',
  },
}
SCSS
$custom: #5281da;
$custom-light: #8ea5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5281da",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 219.265,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.14486,
    "h": 262
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#5281DA
secondary
#DFCCA9
accent
#AE40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5281DA

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

Preview Lab → · Contrast checker → · Palette generator →

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