#524AED#524AED

#524AED is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.235 H 276.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#524AED
RGBrgb(82, 74, 237)
HSLhsl(243, 82%, 61%)
HSVhsv(243, 69%, 93%)
CMYKcmyk(65.4%, 68.8%, 0%, 7.1%)
CIE-LABlab(42.47, 51.26, -80.76)
CIE-LCHlch(42.47, 95.65, 302.41°)
OKLaboklab(52.57% 0.0278 -0.2332)
OKLCHoklch(52.57% 0.235 276.8)
XYZxyz(21.2095, 12.8040, 81.4580)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AED #E5ED4A
analogous
#4A93ED #524AED #A34AED
triadic
#524AED #ED524A #4AED52
tetradic
#524AED #ED4A93 #E5ED4A #4AEDA3
square
#524AED #ED4A93 #E5ED4A #4AEDA3
split-complementary
#524AED #EDA34A #93ED4A
monochromatic
#1911AC #2117E3 #524AED #8782F3 #BCB9F8

Accessibility & contrast

On white

5.90
#524AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#524AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AED
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AED#FFFFFF#000000##FFFFFF
##524AED1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005DEA
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524aed;
/* rgb */ color: rgb(82, 74, 237);
/* oklch */ color: oklch(52.6% 0.235 276.8);
Tailwind
colors: {
  custom: {
    50: '#957ef4',
    500: '#524aed',
    950: '#000000',
  },
}
SCSS
$custom: #524aed;
$custom-light: #957ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#524aed",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 242.945,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.23483,
    "h": 276.8
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#524AED
secondary
#E5E8AB
accent
#DE07D4
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524AED

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

Preview Lab → · Contrast checker → · Palette generator →

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