#524DE7#524DE7

#524DE7 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.224 H 276.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#524DE7
RGBrgb(82, 77, 231)
HSLhsl(242, 76%, 60%)
HSVhsv(242, 67%, 91%)
CMYKcmyk(64.5%, 66.7%, 0%, 9.4%)
CIE-LABlab(42.57, 47.67, -77.20)
CIE-LCHlch(42.57, 90.73, 301.70°)
OKLaboklab(52.48% 0.0265 -0.2228)
OKLCHoklch(52.48% 0.224 276.8)
XYZxyz(20.5527, 12.8694, 76.9868)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DE7 #E2E74D
analogous
#4D95E7 #524DE7 #9F4DE7
triadic
#524DE7 #E7524D #4DE752
tetradic
#524DE7 #E74D95 #E2E74D #4DE79F
square
#524DE7 #E74D95 #E2E74D #4DE79F
split-complementary
#524DE7 #E79F4D #95E74D
monochromatic
#1B16A4 #231DD9 #524DE7 #8683EE #BBB9F6

Accessibility & contrast

On white

5.88
#524DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#524DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DE7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DE7#FFFFFF#000000##FFFFFF
##524DE71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524de7;
/* rgb */ color: rgb(82, 77, 231);
/* oklch */ color: oklch(52.5% 0.224 276.8);
Tailwind
colors: {
  custom: {
    50: '#9380f0',
    500: '#524de7',
    950: '#000000',
  },
}
SCSS
$custom: #524de7;
$custom-light: #9380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#524de7",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 241.948,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.22434,
    "h": 276.8
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#524DE7
secondary
#E3E5AA
accent
#D80DD2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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