#5281FE#5281FE

#5281FE is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.193 H 265.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5281FE
RGBrgb(82, 129, 254)
HSLhsl(224, 99%, 66%)
HSVhsv(224, 68%, 100%)
CMYKcmyk(67.7%, 49.2%, 0%, 0.4%)
CIE-LABlab(56.73, 23.94, -67.02)
CIE-LCHlch(56.73, 71.17, 289.65°)
OKLaboklab(63.55% -0.0146 -0.1924)
OKLCHoklch(63.55% 0.193 265.7)
XYZxyz(29.2131, 24.6472, 96.9645)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281FE #FECF52
analogous
#52D7FE #5281FE #7952FE
triadic
#5281FE #FE5281 #81FE52
tetradic
#5281FE #FE52D7 #FECF52 #52FE79
square
#5281FE #FE52D7 #FECF52 #52FE79
split-complementary
#5281FE #FE7952 #D7FE52
monochromatic
#013BD4 #1555FE #5281FE #8FADFE #CCDAFF

Accessibility & contrast

On white

3.54
#5281FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5281FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281FE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281FE#FFFFFF#000000##000000
##5281FE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5281fe;
/* rgb */ color: rgb(82, 129, 254);
/* oklch */ color: oklch(63.5% 0.193 265.7);
Tailwind
colors: {
  custom: {
    50: '#95a5ff',
    500: '#5281fe',
    950: '#000000',
  },
}
SCSS
$custom: #5281fe;
$custom-light: #95a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5281fe",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 223.605,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63549,
    "c": 0.19291,
    "h": 265.7
  },
  "luminance": 0.2465
}

Semantic roles & 50–950 ramp

primary
#5281FE
secondary
#F2E3B9
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5281FE

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

Preview Lab → · Contrast checker → · Palette generator →

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