#524FE5#524FE5

#524FE5 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.220 H 276.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#524FE5
RGBrgb(82, 79, 229)
HSLhsl(241, 74%, 60%)
HSVhsv(241, 66%, 90%)
CMYKcmyk(64.2%, 65.5%, 0%, 10.2%)
CIE-LABlab(42.83, 45.88, -75.64)
CIE-LCHlch(42.83, 88.47, 301.24°)
OKLaboklab(52.62% 0.0253 -0.2182)
OKLCHoklch(52.62% 0.22 276.6)
XYZxyz(20.4139, 13.0412, 75.5550)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE5 #E2E54F
analogous
#4F97E5 #524FE5 #9D4FE5
triadic
#524FE5 #E5524F #4FE552
tetradic
#524FE5 #E54F97 #E2E54F #4FE59D
square
#524FE5 #E54F97 #E2E54F #4FE59D
split-complementary
#524FE5 #E59D4F #97E54F
monochromatic
#1B18A2 #2320D7 #524FE5 #8684ED #BBBAF5

Accessibility & contrast

On white

5.82
#524FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#524FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FE5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE5#FFFFFF#000000##FFFFFF
##524FE51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524fe5;
/* rgb */ color: rgb(82, 79, 229);
/* oklch */ color: oklch(52.6% 0.220 276.6);
Tailwind
colors: {
  custom: {
    50: '#9381ee',
    500: '#524fe5',
    950: '#000000',
  },
}
SCSS
$custom: #524fe5;
$custom-light: #9381ee;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe5",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 241.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.21966,
    "h": 276.6
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#524FE5
secondary
#E3E5AB
accent
#D60FD2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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