#524EE2#524EE2

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

Color values

HEX#524EE2
RGBrgb(82, 78, 226)
HSLhsl(242, 72%, 60%)
HSVhsv(242, 65%, 89%)
CMYKcmyk(63.7%, 65.5%, 0%, 11.4%)
CIE-LABlab(42.36, 45.50, -74.71)
CIE-LCHlch(42.36, 87.47, 301.34°)
OKLaboklab(52.2% 0.0264 -0.2155)
OKLCHoklch(52.2% 0.217 277)
XYZxyz(19.9271, 12.7320, 73.3442)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EE2 #DEE24E
analogous
#4E94E2 #524EE2 #9C4EE2
triadic
#524EE2 #E2524E #4EE252
tetradic
#524EE2 #E24E94 #DEE24E #4EE29C
square
#524EE2 #E24E94 #DEE24E #4EE29C
split-complementary
#524EE2 #E29C4E #94E24E
monochromatic
#1D1A9C #2722D1 #524EE2 #8583EB #B9B7F3

Accessibility & contrast

On white

5.92
#524EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#524EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EE2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EE2#FFFFFF#000000##FFFFFF
##524EE21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524ee2;
/* rgb */ color: rgb(82, 78, 226);
/* oklch */ color: oklch(52.2% 0.217 277.0);
Tailwind
colors: {
  custom: {
    50: '#9280ec',
    500: '#524ee2',
    950: '#000000',
  },
}
SCSS
$custom: #524ee2;
$custom-light: #9280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#524ee2",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 241.622,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.21707,
    "h": 277
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#524EE2
secondary
#E1E3A9
accent
#EF39EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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