#524CE2#524CE2

#524CE2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.219 H 277.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#524CE2
RGBrgb(82, 76, 226)
HSLhsl(242, 72%, 59%)
HSVhsv(242, 66%, 89%)
CMYKcmyk(63.7%, 66.4%, 0%, 11.4%)
CIE-LABlab(41.93, 46.66, -75.41)
CIE-LCHlch(41.93, 88.68, 301.74°)
OKLaboklab(51.89% 0.0278 -0.2175)
OKLCHoklch(51.89% 0.219 277.3)
XYZxyz(19.7871, 12.4521, 73.2975)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CE2 #DCE24C
analogous
#4C91E2 #524CE2 #9D4CE2
triadic
#524CE2 #E2524C #4CE252
tetradic
#524CE2 #E24C91 #DCE24C #4CE29D
square
#524CE2 #E24C91 #DCE24C #4CE29D
split-complementary
#524CE2 #E29D4C #91E24C
monochromatic
#1E199B #2922CF #524CE2 #8581EB #B8B5F3

Accessibility & contrast

On white

6.02
#524CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#524CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CE2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CE2#FFFFFF#000000##FFFFFF
##524CE21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524ce2;
/* rgb */ color: rgb(82, 76, 226);
/* oklch */ color: oklch(51.9% 0.219 277.3);
Tailwind
colors: {
  custom: {
    50: '#937fec',
    500: '#524ce2',
    950: '#000000',
  },
}
SCSS
$custom: #524ce2;
$custom-light: #937fec;
$custom-dark: #000000;
JSON
{
  "hex": "#524ce2",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 242.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.2193,
    "h": 277.3
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#524CE2
secondary
#E0E2A8
accent
#EF39E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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