#5281F4#5281F4

#5281F4 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.180 H 265.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5281F4
RGBrgb(82, 129, 244)
HSLhsl(223, 88%, 64%)
HSVhsv(223, 66%, 96%)
CMYKcmyk(66.4%, 47.1%, 0%, 4.3%)
CIE-LABlab(56.11, 20.49, -62.49)
CIE-LCHlch(56.11, 65.77, 288.15°)
OKLaboklab(62.88% -0.0158 -0.179)
OKLCHoklch(62.88% 0.18 265)
XYZxyz(27.6534, 24.0233, 88.7500)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281F4 #F4C552
analogous
#52D2F4 #5281F4 #7452F4
triadic
#5281F4 #F45281 #81F452
tetradic
#5281F4 #F452D2 #F4C552 #52F474
square
#5281F4 #F452D2 #F4C552 #52F474
split-complementary
#5281F4 #F47452 #D2F452
monochromatic
#0C40BF #1857F0 #5281F4 #8CABF8 #C5D5FB

Accessibility & contrast

On white

3.62
#5281F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5281F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281F4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281F4#FFFFFF#000000##000000
##5281F41.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF8
Deuteranopia (green-blind)
#1F80F2
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5281f4;
/* rgb */ color: rgb(82, 129, 244);
/* oklch */ color: oklch(62.9% 0.180 265.0);
Tailwind
colors: {
  custom: {
    50: '#93a5f8',
    500: '#5281f4',
    950: '#000000',
  },
}
SCSS
$custom: #5281f4;
$custom-light: #93a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5281f4",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 244
  },
  "hsl": {
    "h": 222.593,
    "s": 88.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62879,
    "c": 0.17973,
    "h": 265
  },
  "luminance": 0.24026
}

Semantic roles & 50–950 ramp

primary
#5281F4
secondary
#EDDDB4
accent
#A301E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5281F4

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

Preview Lab → · Contrast checker → · Palette generator →

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