#5281DD#5281DD

#5281DD is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.149 H 262.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5281DD
RGBrgb(82, 129, 221)
HSLhsl(220, 67%, 59%)
HSVhsv(220, 63%, 87%)
CMYKcmyk(62.9%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.78, 12.61, -51.81)
CIE-LCHlch(54.78, 53.32, 283.68°)
OKLaboklab(61.42% -0.0195 -0.1476)
OKLCHoklch(61.42% 0.149 262.5)
XYZxyz(24.3765, 22.7126, 71.4919)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281DD #DDAE52
analogous
#52C7DD #5281DD #6952DD
triadic
#5281DD #DD5281 #81DD52
tetradic
#5281DD #DD52C7 #DDAE52 #52DD69
square
#5281DD #DD52C7 #DDAE52 #52DD69
split-complementary
#5281DD #DD6952 #C7DD52
monochromatic
#1E4797 #285FCA #5281DD #85A6E7 #B8CCF1

Accessibility & contrast

On white

3.79
#5281DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5281DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281DD#FFFFFF#000000##000000
##5281DD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5281dd;
/* rgb */ color: rgb(82, 129, 221);
/* oklch */ color: oklch(61.4% 0.149 262.5);
Tailwind
colors: {
  custom: {
    50: '#8fa5e8',
    500: '#5281dd',
    950: '#000000',
  },
}
SCSS
$custom: #5281dd;
$custom-light: #8fa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5281dd",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 219.712,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.14891,
    "h": 262.5
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#5281DD
secondary
#E0CEAA
accent
#B03EEA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5281DD

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

Preview Lab → · Contrast checker → · Palette generator →

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