#524EE5#524EE5

#524EE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.221 H 276.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#524EE5
RGBrgb(82, 78, 229)
HSLhsl(242, 74%, 60%)
HSVhsv(242, 66%, 90%)
CMYKcmyk(64.2%, 65.9%, 0%, 10.2%)
CIE-LABlab(42.61, 46.46, -76.00)
CIE-LCHlch(42.61, 89.07, 301.44°)
OKLaboklab(52.46% 0.026 -0.2192)
OKLCHoklch(52.46% 0.221 276.8)
XYZxyz(20.3423, 12.8981, 75.5311)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EE5 #E1E54E
analogous
#4E96E5 #524EE5 #9D4EE5
triadic
#524EE5 #E5524E #4EE552
tetradic
#524EE5 #E54E96 #E1E54E #4EE59D
square
#524EE5 #E54E96 #E1E54E #4EE59D
split-complementary
#524EE5 #E59D4E #96E54E
monochromatic
#1B18A1 #241FD6 #524EE5 #8683ED #BAB9F5

Accessibility & contrast

On white

5.87
#524EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#524EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EE5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EE5#FFFFFF#000000##FFFFFF
##524EE51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524ee5;
/* rgb */ color: rgb(82, 78, 229);
/* oklch */ color: oklch(52.5% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#9380ee',
    500: '#524ee5',
    950: '#000000',
  },
}
SCSS
$custom: #524ee5;
$custom-light: #9380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#524ee5",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 241.589,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.22078,
    "h": 276.8
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#524EE5
secondary
#E3E4AA
accent
#D70FD1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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