#5281E3#5281E3

#5281E3 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.8% C 0.157 H 263.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5281E3
RGBrgb(82, 129, 227)
HSLhsl(221, 72%, 61%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(63.9%, 43.2%, 0%, 11%)
CIE-LABlab(55.11, 14.65, -54.63)
CIE-LCHlch(55.11, 56.56, 285.02°)
OKLaboklab(61.79% -0.0184 -0.1559)
OKLCHoklch(61.79% 0.157 263.3)
XYZxyz(25.1902, 23.0380, 75.7774)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281E3 #E3B452
analogous
#52C9E3 #5281E3 #6B52E3
triadic
#5281E3 #E35281 #81E352
tetradic
#5281E3 #E352C9 #E3B452 #52E36B
square
#5281E3 #E352C9 #E3B452 #52E36B
split-complementary
#5281E3 #E36B52 #C9E352
monochromatic
#1A46A1 #235CD5 #5281E3 #87A7EC #BBCEF4

Accessibility & contrast

On white

3.74
#5281E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5281E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281E3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281E3#FFFFFF#000000##000000
##5281E31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE7
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5281e3;
/* rgb */ color: rgb(82, 129, 227);
/* oklch */ color: oklch(61.8% 0.157 263.3);
Tailwind
colors: {
  custom: {
    50: '#90a5ec',
    500: '#5281e3',
    950: '#000000',
  },
}
SCSS
$custom: #5281e3;
$custom-light: #90a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5281e3",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 227
  },
  "hsl": {
    "h": 220.552,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.15701,
    "h": 263.3
  },
  "luminance": 0.2304
}

Semantic roles & 50–950 ramp

primary
#5281E3
secondary
#E4D2AD
accent
#9511D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5281E3

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

Preview Lab → · Contrast checker → · Palette generator →

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