#524EE6#524EE6

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

Color values

HEX#524EE6
RGBrgb(82, 78, 230)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 66%, 90%)
CMYKcmyk(64.3%, 66.1%, 0%, 9.8%)
CIE-LABlab(42.69, 46.78, -76.42)
CIE-LCHlch(42.69, 89.60, 301.47°)
OKLaboklab(52.55% 0.0259 -0.2205)
OKLCHoklch(52.55% 0.222 276.7)
XYZxyz(20.4823, 12.9541, 76.2686)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EE6 #E2E64E
analogous
#4E96E6 #524EE6 #9E4EE6
triadic
#524EE6 #E6524E #4EE652
tetradic
#524EE6 #E64E96 #E2E64E #4EE69E
square
#524EE6 #E64E96 #E2E64E #4EE69E
split-complementary
#524EE6 #E69E4E #96E64E
monochromatic
#1B17A3 #231FD8 #524EE6 #8684EE #BBB9F5

Accessibility & contrast

On white

5.85
#524EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#524EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EE6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EE6#FFFFFF#000000##FFFFFF
##524EE61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524ee6;
/* rgb */ color: rgb(82, 78, 230);
/* oklch */ color: oklch(52.5% 0.222 276.7);
Tailwind
colors: {
  custom: {
    50: '#9380ef',
    500: '#524ee6',
    950: '#000000',
  },
}
SCSS
$custom: #524ee6;
$custom-light: #9380ef;
$custom-dark: #000000;
JSON
{
  "hex": "#524ee6",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 241.579,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.22201,
    "h": 276.7
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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