#524AE1#524AE1

#524AE1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.220 H 277.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#524AE1
RGBrgb(82, 74, 225)
HSLhsl(243, 72%, 59%)
HSVhsv(243, 67%, 88%)
CMYKcmyk(63.6%, 67.1%, 0%, 11.8%)
CIE-LABlab(41.42, 47.49, -75.68)
CIE-LCHlch(41.42, 89.34, 302.11°)
OKLaboklab(51.5% 0.0294 -0.2183)
OKLCHoklch(51.5% 0.22 277.7)
XYZxyz(19.5147, 12.1260, 72.5317)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AE1 #D9E14A
analogous
#4A8DE1 #524AE1 #9D4AE1
triadic
#524AE1 #E1524A #4AE152
tetradic
#524AE1 #E14A8D #D9E14A #4AE19D
square
#524AE1 #E14A8D #D9E14A #4AE19D
split-complementary
#524AE1 #E19D4A #8DE14A
monochromatic
#201997 #2B22CC #524AE1 #847EEA #B6B3F2

Accessibility & contrast

On white

6.13
#524AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#524AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AE1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AE1#FFFFFF#000000##FFFFFF
##524AE11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524ae1;
/* rgb */ color: rgb(82, 74, 225);
/* oklch */ color: oklch(51.5% 0.220 277.7);
Tailwind
colors: {
  custom: {
    50: '#937eec',
    500: '#524ae1',
    950: '#000000',
  },
}
SCSS
$custom: #524ae1;
$custom-light: #937eec;
$custom-dark: #000000;
JSON
{
  "hex": "#524ae1",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 243.179,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.22028,
    "h": 277.7
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#524AE1
secondary
#DEE1A6
accent
#EE39E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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