#5281EA#5281EA

#5281EA is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.2% C 0.166 H 264.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5281EA
RGBrgb(82, 129, 234)
HSLhsl(221, 78%, 62%)
HSVhsv(221, 65%, 92%)
CMYKcmyk(65%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.52, 17.05, -57.90)
CIE-LCHlch(55.52, 60.35, 286.41°)
OKLaboklab(62.23% -0.0173 -0.1655)
OKLCHoklch(62.23% 0.166 264)
XYZxyz(26.1760, 23.4324, 80.9694)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281EA #EABB52
analogous
#52CDEA #5281EA #6F52EA
triadic
#5281EA #EA5281 #81EA52
tetradic
#5281EA #EA52CD #EABB52 #52EA6F
square
#5281EA #EA52CD #EABB52 #52EA6F
split-complementary
#5281EA #EA6F52 #CDEA52
monochromatic
#1544AD #1C59E3 #5281EA #89A9F1 #BFD0F7

Accessibility & contrast

On white

3.69
#5281EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5281EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281EA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281EA#FFFFFF#000000##000000
##5281EA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CEE
Deuteranopia (green-blind)
#327EE8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5281ea;
/* rgb */ color: rgb(82, 129, 234);
/* oklch */ color: oklch(62.2% 0.166 264.0);
Tailwind
colors: {
  custom: {
    50: '#91a5f1',
    500: '#5281ea',
    950: '#000000',
  },
}
SCSS
$custom: #5281ea;
$custom-light: #91a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5281ea",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 221.447,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6223,
    "c": 0.16641,
    "h": 264
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#5281EA
secondary
#E8D7B0
accent
#9A0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5281EA

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

Preview Lab → · Contrast checker → · Palette generator →

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