#524ED8#524ED8

#524ED8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.3% C 0.205 H 277.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#524ED8
RGBrgb(82, 78, 216)
HSLhsl(242, 64%, 58%)
HSVhsv(242, 64%, 85%)
CMYKcmyk(62%, 63.9%, 0%, 15.3%)
CIE-LABlab(41.53, 42.28, -70.35)
CIE-LCHlch(41.53, 82.08, 301.01°)
OKLaboklab(51.35% 0.0273 -0.2027)
OKLCHoklch(51.35% 0.205 277.7)
XYZxyz(18.5947, 12.1990, 66.3272)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ED8 #D4D84E
analogous
#4E8FD8 #524ED8 #974ED8
triadic
#524ED8 #D8524E #4ED852
tetradic
#524ED8 #D84E8F #D4D84E #4ED897
square
#524ED8 #D84E8F #D4D84E #4ED897
split-complementary
#524ED8 #D8974E #8FD84E
monochromatic
#221F8D #2E2ABF #524ED8 #8380E3 #B4B2EE

Accessibility & contrast

On white

6.10
#524ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#524ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ED8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ED8#FFFFFF#000000##FFFFFF
##524ED81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524ed8;
/* rgb */ color: rgb(82, 78, 216);
/* oklch */ color: oklch(51.3% 0.205 277.7);
Tailwind
colors: {
  custom: {
    50: '#9180e5',
    500: '#524ed8',
    950: '#000000',
  },
}
SCSS
$custom: #524ed8;
$custom-light: #9180e5;
$custom-dark: #000000;
JSON
{
  "hex": "#524ed8",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 241.739,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.20452,
    "h": 277.7
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#524ED8
secondary
#DBDDA5
accent
#E741E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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