#524FEB#524FEB

#524FEB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.227 H 276.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#524FEB
RGBrgb(82, 79, 235)
HSLhsl(241, 80%, 62%)
HSVhsv(241, 66%, 92%)
CMYKcmyk(65.1%, 66.4%, 0%, 7.8%)
CIE-LABlab(43.33, 47.80, -78.20)
CIE-LCHlch(43.33, 91.65, 301.43°)
OKLaboklab(53.14% 0.0246 -0.2257)
OKLCHoklch(53.14% 0.227 276.2)
XYZxyz(21.2662, 13.3821, 80.0435)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FEB #E8EB4F
analogous
#4F9AEB #524FEB #A04FEB
triadic
#524FEB #EB524F #4FEB52
tetradic
#524FEB #EB4F9A #E8EB4F #4FEBA0
square
#524FEB #EB4F9A #E8EB4F #4FEBA0
split-complementary
#524FEB #EBA04F #9AEB4F
monochromatic
#1614AC #1E1AE3 #524FEB #8886F1 #BEBDF7

Accessibility & contrast

On white

5.71
#524FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#524FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FEB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FEB#FFFFFF#000000##FFFFFF
##524FEB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #524feb;
/* rgb */ color: rgb(82, 79, 235);
/* oklch */ color: oklch(53.1% 0.227 276.2);
Tailwind
colors: {
  custom: {
    50: '#9481f3',
    500: '#524feb',
    950: '#000000',
  },
}
SCSS
$custom: #524feb;
$custom-light: #9481f3;
$custom-dark: #000000;
JSON
{
  "hex": "#524feb",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 241.154,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.22705,
    "h": 276.2
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#524FEB
secondary
#E7E8AE
accent
#DC0AD8
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524FEB

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

Preview Lab → · Contrast checker → · Palette generator →

#524FEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva