#5281E6#5281E6

#5281E6 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.161 H 263.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5281E6
RGBrgb(82, 129, 230)
HSLhsl(221, 75%, 61%)
HSVhsv(221, 64%, 90%)
CMYKcmyk(64.3%, 43.9%, 0%, 9.8%)
CIE-LABlab(55.28, 15.68, -56.03)
CIE-LCHlch(55.28, 58.19, 285.63°)
OKLaboklab(61.98% -0.0179 -0.16)
OKLCHoklch(61.98% 0.161 263.6)
XYZxyz(25.6079, 23.2051, 77.9771)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281E6 #E6B752
analogous
#52CBE6 #5281E6 #6D52E6
triadic
#5281E6 #E65281 #81E652
tetradic
#5281E6 #E652CB #E6B752 #52E66D
square
#5281E6 #E652CB #E6B752 #52E66D
split-complementary
#5281E6 #E66D52 #CBE652
monochromatic
#1845A6 #205BDB #5281E6 #87A8EE #BDCFF5

Accessibility & contrast

On white

3.72
#5281E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5281E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281E6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281E6#FFFFFF#000000##000000
##5281E61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5281e6;
/* rgb */ color: rgb(82, 129, 230);
/* oklch */ color: oklch(62.0% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#90a5ee',
    500: '#5281e6',
    950: '#000000',
  },
}
SCSS
$custom: #5281e6;
$custom-light: #90a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5281e6",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 230
  },
  "hsl": {
    "h": 220.946,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.16104,
    "h": 263.6
  },
  "luminance": 0.23208
}

Semantic roles & 50–950 ramp

primary
#5281E6
secondary
#E6D4AE
accent
#970FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5281E6

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

Preview Lab → · Contrast checker → · Palette generator →

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