#5282D5#5282D5

#5282D5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.137 H 260.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5282D5
RGBrgb(82, 130, 213)
HSLhsl(218, 61%, 58%)
HSVhsv(218, 62%, 84%)
CMYKcmyk(61.5%, 39%, 0%, 16.5%)
CIE-LABlab(54.62, 9.29, -47.56)
CIE-LCHlch(54.62, 48.45, 281.06°)
OKLaboklab(61.16% -0.0222 -0.1351)
OKLCHoklch(61.16% 0.137 260.7)
XYZxyz(23.4683, 22.5611, 66.0559)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282D5 #D5A552
analogous
#52C4D5 #5282D5 #6352D5
triadic
#5282D5 #D55282 #82D552
tetradic
#5282D5 #D552C4 #D5A552 #52D563
square
#5282D5 #D552C4 #D5A552 #52D563
split-complementary
#5282D5 #D56352 #C4D552
monochromatic
#22488B #2E62BC #5282D5 #83A6E1 #B4C9ED

Accessibility & contrast

On white

3.81
#5282D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5282D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282D5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282D5#FFFFFF#000000##000000
##5282D51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E89D8
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5282d5;
/* rgb */ color: rgb(82, 130, 213);
/* oklch */ color: oklch(61.2% 0.137 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ea5e2',
    500: '#5282d5',
    950: '#000000',
  },
}
SCSS
$custom: #5282d5;
$custom-light: #8ea5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5282d5",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 213
  },
  "hsl": {
    "h": 218.015,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.13696,
    "h": 260.7
  },
  "luminance": 0.22563
}

Semantic roles & 50–950 ramp

primary
#5282D5
secondary
#DCC8A7
accent
#A944E4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5282D5

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

Preview Lab → · Contrast checker → · Palette generator →

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