#5281F3#5281F3

#5281F3 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.178 H 264.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5281F3
RGBrgb(82, 129, 243)
HSLhsl(222, 87%, 64%)
HSVhsv(222, 66%, 95%)
CMYKcmyk(66.3%, 46.9%, 0%, 4.7%)
CIE-LABlab(56.05, 20.15, -62.04)
CIE-LCHlch(56.05, 65.23, 287.99°)
OKLaboklab(62.81% -0.0159 -0.1777)
OKLCHoklch(62.81% 0.178 264.9)
XYZxyz(27.5019, 23.9627, 87.9526)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281F3 #F3C452
analogous
#52D2F3 #5281F3 #7352F3
triadic
#5281F3 #F35281 #81F352
tetradic
#5281F3 #F352D2 #F3C452 #52F373
square
#5281F3 #F352D2 #F3C452 #52F373
split-complementary
#5281F3 #F37352 #D2F352
monochromatic
#0D41BD #1957EF #5281F3 #8BABF7 #C4D4FB

Accessibility & contrast

On white

3.63
#5281F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5281F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281F3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281F3#FFFFFF#000000##000000
##5281F31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF7
Deuteranopia (green-blind)
#227FF1
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5281f3;
/* rgb */ color: rgb(82, 129, 243);
/* oklch */ color: oklch(62.8% 0.178 264.9);
Tailwind
colors: {
  custom: {
    50: '#93a5f8',
    500: '#5281f3',
    950: '#000000',
  },
}
SCSS
$custom: #5281f3;
$custom-light: #93a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5281f3",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 222.484,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.1784,
    "h": 264.9
  },
  "luminance": 0.23965
}

Semantic roles & 50–950 ramp

primary
#5281F3
secondary
#EDDCB4
accent
#A202E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5281F3

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

Preview Lab → · Contrast checker → · Palette generator →

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