#5281DB#5281DB

#5281DB is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.3% C 0.146 H 262.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5281DB
RGBrgb(82, 129, 219)
HSLhsl(219, 66%, 59%)
HSVhsv(219, 63%, 86%)
CMYKcmyk(62.6%, 41.1%, 0%, 14.1%)
CIE-LABlab(54.66, 11.93, -50.86)
CIE-LCHlch(54.66, 52.24, 283.20°)
OKLaboklab(61.3% -0.0199 -0.1448)
OKLCHoklch(61.3% 0.146 262.2)
XYZxyz(24.1116, 22.6066, 70.0969)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281DB #DBAC52
analogous
#52C6DB #5281DB #6852DB
triadic
#5281DB #DB5281 #81DB52
tetradic
#5281DB #DB52C6 #DBAC52 #52DB68
square
#5281DB #DB52C6 #DBAC52 #52DB68
split-complementary
#5281DB #DB6852 #C6DB52
monochromatic
#1F4794 #295FC6 #5281DB #85A6E6 #B7CBF0

Accessibility & contrast

On white

3.80
#5281DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5281DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281DB#FFFFFF#000000##000000
##5281DB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5281db;
/* rgb */ color: rgb(82, 129, 219);
/* oklch */ color: oklch(61.3% 0.146 262.2);
Tailwind
colors: {
  custom: {
    50: '#8fa5e6',
    500: '#5281db',
    950: '#000000',
  },
}
SCSS
$custom: #5281db;
$custom-light: #8fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5281db",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 219.416,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.613,
    "c": 0.14621,
    "h": 262.2
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#5281DB
secondary
#DFCDAA
accent
#AE3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5281DB

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

Preview Lab → · Contrast checker → · Palette generator →

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