#5282DB#5282DB

#5282DB is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.145 H 261.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5282DB
RGBrgb(82, 130, 219)
HSLhsl(219, 66%, 59%)
HSVhsv(219, 63%, 86%)
CMYKcmyk(62.6%, 40.6%, 0%, 14.1%)
CIE-LABlab(54.94, 11.32, -50.42)
CIE-LCHlch(54.94, 51.68, 282.66°)
OKLaboklab(61.51% -0.0209 -0.1435)
OKLCHoklch(61.51% 0.145 261.7)
XYZxyz(24.2440, 22.8714, 70.1411)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282DB #DBAB52
analogous
#52C7DB #5282DB #6752DB
triadic
#5282DB #DB5282 #82DB52
tetradic
#5282DB #DB52C7 #DBAB52 #52DB67
square
#5282DB #DB52C7 #DBAB52 #52DB67
split-complementary
#5282DB #DB6752 #C7DB52
monochromatic
#1F4894 #2960C6 #5282DB #85A7E6 #B7CBF0

Accessibility & contrast

On white

3.77
#5282DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5282DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282DB#FFFFFF#000000##000000
##5282DB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5282db;
/* rgb */ color: rgb(82, 130, 219);
/* oklch */ color: oklch(61.5% 0.145 261.7);
Tailwind
colors: {
  custom: {
    50: '#8fa5e6',
    500: '#5282db',
    950: '#000000',
  },
}
SCSS
$custom: #5282db;
$custom-light: #8fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5282db",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 218.978,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.14507,
    "h": 261.7
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#5282DB
secondary
#DFCCAA
accent
#AD3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5282DB

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

Preview Lab → · Contrast checker → · Palette generator →

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