#524CE6#524CE6

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

Color values

HEX#524CE6
RGBrgb(82, 76, 230)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(64.3%, 67%, 0%, 9.8%)
CIE-LABlab(42.27, 47.93, -77.12)
CIE-LCHlch(42.27, 90.80, 301.86°)
OKLaboklab(52.24% 0.0274 -0.2225)
OKLCHoklch(52.24% 0.224 277)
XYZxyz(20.3424, 12.6742, 76.2219)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CE6 #E0E64C
analogous
#4C93E6 #524CE6 #9F4CE6
triadic
#524CE6 #E6524C #4CE652
tetradic
#524CE6 #E64C93 #E0E64C #4CE69F
square
#524CE6 #E64C93 #E0E64C #4CE69F
split-complementary
#524CE6 #E69F4C #93E64C
monochromatic
#1C17A1 #251ED7 #524CE6 #8682ED #BAB7F5

Accessibility & contrast

On white

5.94
#524CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#524CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CE6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CE6#FFFFFF#000000##FFFFFF
##524CE61.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524ce6;
/* rgb */ color: rgb(82, 76, 230);
/* oklch */ color: oklch(52.2% 0.224 277.0);
Tailwind
colors: {
  custom: {
    50: '#937fef',
    500: '#524ce6',
    950: '#000000',
  },
}
SCSS
$custom: #524ce6;
$custom-light: #937fef;
$custom-dark: #000000;
JSON
{
  "hex": "#524ce6",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 242.338,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.22421,
    "h": 277
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#524CE6
secondary
#E2E5A9
accent
#F236EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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