#524EE1#524EE1

#524EE1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.1% C 0.216 H 277.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#524EE1
RGBrgb(82, 78, 225)
HSLhsl(242, 71%, 59%)
HSVhsv(242, 65%, 88%)
CMYKcmyk(63.6%, 65.3%, 0%, 11.8%)
CIE-LABlab(42.27, 45.18, -74.27)
CIE-LCHlch(42.27, 86.93, 301.31°)
OKLaboklab(52.12% 0.0265 -0.2142)
OKLCHoklch(52.12% 0.216 277)
XYZxyz(19.7903, 12.6772, 72.6236)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EE1 #DDE14E
analogous
#4E93E1 #524EE1 #9C4EE1
triadic
#524EE1 #E1524E #4EE152
tetradic
#524EE1 #E14E93 #DDE14E #4EE19C
square
#524EE1 #E14E93 #DDE14E #4EE19C
split-complementary
#524EE1 #E19C4E #93E14E
monochromatic
#1E1A9A #2823CF #524EE1 #8582EA #B8B7F3

Accessibility & contrast

On white

5.94
#524EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#524EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EE1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EE1#FFFFFF#000000##FFFFFF
##524EE11.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524ee1;
/* rgb */ color: rgb(82, 78, 225);
/* oklch */ color: oklch(52.1% 0.216 277.0);
Tailwind
colors: {
  custom: {
    50: '#9280ec',
    500: '#524ee1',
    950: '#000000',
  },
}
SCSS
$custom: #524ee1;
$custom-light: #9280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#524ee1",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 241.633,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.21582,
    "h": 277
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#524EE1
secondary
#E0E2A9
accent
#EE3AE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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