#5281DF#5281DF

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

Color values

HEX#5281DF
RGBrgb(82, 129, 223)
HSLhsl(220, 69%, 60%)
HSVhsv(220, 63%, 87%)
CMYKcmyk(63.2%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.89, 13.29, -52.75)
CIE-LCHlch(54.89, 54.40, 284.14°)
OKLaboklab(61.54% -0.0192 -0.1504)
OKLCHoklch(61.54% 0.152 262.7)
XYZxyz(24.6446, 22.8198, 72.9036)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281DF #DFB052
analogous
#52C7DF #5281DF #6A52DF
triadic
#5281DF #DF5281 #81DF52
tetradic
#5281DF #DF52C7 #DFB052 #52DF6A
square
#5281DF #DF52C7 #DFB052 #52DF6A
split-complementary
#5281DF #DF6A52 #C7DF52
monochromatic
#1D469A #265ECE #5281DF #86A7E9 #B9CCF2

Accessibility & contrast

On white

3.77
#5281DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5281DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281DF#FFFFFF#000000##000000
##5281DF1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE3
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5281df;
/* rgb */ color: rgb(82, 129, 223);
/* oklch */ color: oklch(61.5% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#8fa5e9',
    500: '#5281df',
    950: '#000000',
  },
}
SCSS
$custom: #5281df;
$custom-light: #8fa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5281df",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 220,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.15162,
    "h": 262.7
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#5281DF
secondary
#E2CFAB
accent
#B13CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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