#5282D9#5282D9

#5282D9 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.142 H 261.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5282D9
RGBrgb(82, 130, 217)
HSLhsl(219, 64%, 59%)
HSVhsv(219, 62%, 85%)
CMYKcmyk(62.2%, 40.1%, 0%, 14.9%)
CIE-LABlab(54.83, 10.64, -49.47)
CIE-LCHlch(54.83, 50.60, 282.14°)
OKLaboklab(61.39% -0.0214 -0.1407)
OKLCHoklch(61.39% 0.142 261.4)
XYZxyz(23.9823, 22.7667, 68.7627)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282D9 #D9A952
analogous
#52C5D9 #5282D9 #6552D9
triadic
#5282D9 #D95282 #82D952
tetradic
#5282D9 #D952C5 #D9A952 #52D965
square
#5282D9 #D952C5 #D9A952 #52D965
split-complementary
#5282D9 #D96552 #C5D952
monochromatic
#204891 #2B61C3 #5282D9 #84A6E4 #B6CBEF

Accessibility & contrast

On white

3.78
#5282D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5282D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282D9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282D9#FFFFFF#000000##000000
##5282D91.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)
#5B8ADC
Deuteranopia (green-blind)
#487DD7
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5282d9;
/* rgb */ color: rgb(82, 130, 217);
/* oklch */ color: oklch(61.4% 0.142 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ea5e5',
    500: '#5282d9',
    950: '#000000',
  },
}
SCSS
$custom: #5282d9;
$custom-light: #8ea5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5282d9",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 217
  },
  "hsl": {
    "h": 218.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.14236,
    "h": 261.4
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#5282D9
secondary
#DECBA9
accent
#AC41E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5282D9

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

Preview Lab → · Contrast checker → · Palette generator →

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