#524FE4#524FE4

#524FE4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.218 H 276.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#524FE4
RGBrgb(82, 79, 228)
HSLhsl(241, 73%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(64%, 65.4%, 0%, 10.6%)
CIE-LABlab(42.74, 45.55, -75.21)
CIE-LCHlch(42.74, 87.93, 301.20°)
OKLaboklab(52.53% 0.0254 -0.2169)
OKLCHoklch(52.53% 0.218 276.7)
XYZxyz(20.2747, 12.9855, 74.8218)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE4 #E1E44F
analogous
#4F96E4 #524FE4 #9C4FE4
triadic
#524FE4 #E4524F #4FE452
tetradic
#524FE4 #E44F96 #E1E44F #4FE49C
square
#524FE4 #E44F96 #E1E44F #4FE49C
split-complementary
#524FE4 #E49C4F #96E44F
monochromatic
#1B19A0 #2421D5 #524FE4 #8684EC #BAB9F4

Accessibility & contrast

On white

5.84
#524FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#524FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FE4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE4#FFFFFF#000000##FFFFFF
##524FE41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524fe4;
/* rgb */ color: rgb(82, 79, 228);
/* oklch */ color: oklch(52.5% 0.218 276.7);
Tailwind
colors: {
  custom: {
    50: '#9381ee',
    500: '#524fe4',
    950: '#000000',
  },
}
SCSS
$custom: #524fe4;
$custom-light: #9381ee;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe4",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 241.208,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.21842,
    "h": 276.7
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#524FE4
secondary
#E3E4AB
accent
#D610D2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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