#5281DE#5281DE

#5281DE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.150 H 262.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5281DE
RGBrgb(82, 129, 222)
HSLhsl(220, 68%, 60%)
HSVhsv(220, 63%, 87%)
CMYKcmyk(63.1%, 41.9%, 0%, 12.9%)
CIE-LABlab(54.83, 12.95, -52.28)
CIE-LCHlch(54.83, 53.86, 283.91°)
OKLaboklab(61.48% -0.0194 -0.149)
OKLCHoklch(61.48% 0.15 262.6)
XYZxyz(24.5101, 22.7660, 72.1957)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281DE #DEAF52
analogous
#52C7DE #5281DE #6952DE
triadic
#5281DE #DE5281 #81DE52
tetradic
#5281DE #DE52C7 #DEAF52 #52DE69
square
#5281DE #DE52C7 #DEAF52 #52DE69
split-complementary
#5281DE #DE6952 #C7DE52
monochromatic
#1D4799 #275ECC #5281DE #85A6E8 #B9CCF2

Accessibility & contrast

On white

3.78
#5281DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5281DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281DE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281DE#FFFFFF#000000##000000
##5281DE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5281de;
/* rgb */ color: rgb(82, 129, 222);
/* oklch */ color: oklch(61.5% 0.150 262.6);
Tailwind
colors: {
  custom: {
    50: '#8fa5e9',
    500: '#5281de',
    950: '#000000',
  },
}
SCSS
$custom: #5281de;
$custom-light: #8fa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5281de",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 219.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.15026,
    "h": 262.6
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#5281DE
secondary
#E1CFAB
accent
#B03DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5281DE

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

Preview Lab → · Contrast checker → · Palette generator →

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