#5281E1#5281E1

#5281E1 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.7% C 0.154 H 263.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5281E1
RGBrgb(82, 129, 225)
HSLhsl(220, 70%, 60%)
HSVhsv(220, 64%, 88%)
CMYKcmyk(63.6%, 42.7%, 0%, 11.8%)
CIE-LABlab(55.00, 13.97, -53.69)
CIE-LCHlch(55.00, 55.48, 284.59°)
OKLaboklab(61.67% -0.0188 -0.1532)
OKLCHoklch(61.67% 0.154 263)
XYZxyz(24.9158, 22.9283, 74.3321)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281E1 #E1B252
analogous
#52C8E1 #5281E1 #6B52E1
triadic
#5281E1 #E15281 #81E152
tetradic
#5281E1 #E152C8 #E1B252 #52E16B
square
#5281E1 #E152C8 #E1B252 #52E16B
split-complementary
#5281E1 #E16B52 #C8E152
monochromatic
#1B469D #245DD1 #5281E1 #86A7EA #BACDF3

Accessibility & contrast

On white

3.76
#5281E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5281E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281E1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281E1#FFFFFF#000000##000000
##5281E11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE5
Deuteranopia (green-blind)
#3E7EDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5281e1;
/* rgb */ color: rgb(82, 129, 225);
/* oklch */ color: oklch(61.7% 0.154 263.0);
Tailwind
colors: {
  custom: {
    50: '#90a5eb',
    500: '#5281e1',
    950: '#000000',
  },
}
SCSS
$custom: #5281e1;
$custom-light: #90a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5281e1",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 220.28,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61666,
    "c": 0.15431,
    "h": 263
  },
  "luminance": 0.22931
}

Semantic roles & 50–950 ramp

primary
#5281E1
secondary
#E3D1AC
accent
#9413D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5281E1

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

Preview Lab → · Contrast checker → · Palette generator →

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