#524AE6#524AE6

#524AE6 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.226 H 277.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#524AE6
RGBrgb(82, 74, 230)
HSLhsl(243, 76%, 60%)
HSVhsv(243, 68%, 90%)
CMYKcmyk(64.3%, 67.8%, 0%, 9.8%)
CIE-LABlab(41.85, 49.07, -77.81)
CIE-LCHlch(41.85, 91.99, 302.24°)
OKLaboklab(51.94% 0.0288 -0.2245)
OKLCHoklch(51.94% 0.226 277.3)
XYZxyz(20.2067, 12.4029, 76.1767)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AE6 #DEE64A
analogous
#4A90E6 #524AE6 #A04AE6
triadic
#524AE6 #E6524A #4AE652
tetradic
#524AE6 #E64A90 #DEE64A #4AE6A0
square
#524AE6 #E64A90 #DEE64A #4AE6A0
split-complementary
#524AE6 #E6A04A #90E64A
monochromatic
#1D16A0 #271DD5 #524AE6 #8580ED #B9B6F5

Accessibility & contrast

On white

6.03
#524AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#524AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AE6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AE6#FFFFFF#000000##FFFFFF
##524AE61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524ae6;
/* rgb */ color: rgb(82, 74, 230);
/* oklch */ color: oklch(51.9% 0.226 277.3);
Tailwind
colors: {
  custom: {
    50: '#947eef',
    500: '#524ae6',
    950: '#000000',
  },
}
SCSS
$custom: #524ae6;
$custom-light: #947eef;
$custom-dark: #000000;
JSON
{
  "hex": "#524ae6",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 243.077,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.22638,
    "h": 277.3
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#524AE6
secondary
#E1E4A8
accent
#F235E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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