#5282E2#5282E2

#5282E2 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.9% C 0.154 H 262.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5282E2
RGBrgb(82, 130, 226)
HSLhsl(220, 71%, 60%)
HSVhsv(220, 64%, 89%)
CMYKcmyk(63.7%, 42.5%, 0%, 11.4%)
CIE-LABlab(55.33, 13.71, -53.73)
CIE-LCHlch(55.33, 55.45, 284.31°)
OKLaboklab(61.94% -0.0196 -0.1532)
OKLCHoklch(61.94% 0.155 262.7)
XYZxyz(25.1850, 23.2477, 75.0968)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282E2 #E2B252
analogous
#52CAE2 #5282E2 #6A52E2
triadic
#5282E2 #E25282 #82E252
tetradic
#5282E2 #E252CA #E2B252 #52E26A
square
#5282E2 #E252CA #E2B252 #52E26A
split-complementary
#5282E2 #E26A52 #CAE252
monochromatic
#1B479F #235ED3 #5282E2 #86A8EB #BBCEF4

Accessibility & contrast

On white

3.72
#5282E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5282E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282E2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282E2#FFFFFF#000000##000000
##5282E21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5282e2;
/* rgb */ color: rgb(82, 130, 226);
/* oklch */ color: oklch(61.9% 0.154 262.7);
Tailwind
colors: {
  custom: {
    50: '#90a5eb',
    500: '#5282e2',
    950: '#000000',
  },
}
SCSS
$custom: #5282e2;
$custom-light: #90a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5282e2",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 220,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.1545,
    "h": 262.7
  },
  "luminance": 0.2325
}

Semantic roles & 50–950 ramp

primary
#5282E2
secondary
#E3D1AC
accent
#9312D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5282E2

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

Preview Lab → · Contrast checker → · Palette generator →

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