#524DE2#524DE2

#524DE2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.218 H 277.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#524DE2
RGBrgb(82, 77, 226)
HSLhsl(242, 72%, 59%)
HSVhsv(242, 66%, 89%)
CMYKcmyk(63.7%, 65.9%, 0%, 11.4%)
CIE-LABlab(42.14, 46.08, -75.06)
CIE-LCHlch(42.14, 88.07, 301.55°)
OKLaboklab(52.04% 0.0271 -0.2165)
OKLCHoklch(52.04% 0.218 277.1)
XYZxyz(19.8566, 12.5909, 73.3207)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DE2 #DDE24D
analogous
#4D93E2 #524DE2 #9C4DE2
triadic
#524DE2 #E2524D #4DE252
tetradic
#524DE2 #E24D93 #DDE24D #4DE29C
square
#524DE2 #E24D93 #DDE24D #4DE29C
split-complementary
#524DE2 #E29C4D #93E24D
monochromatic
#1E199B #2822D0 #524DE2 #8582EB #B8B6F3

Accessibility & contrast

On white

5.97
#524DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#524DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DE2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DE2#FFFFFF#000000##FFFFFF
##524DE21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524de2;
/* rgb */ color: rgb(82, 77, 226);
/* oklch */ color: oklch(52.0% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#9380ec',
    500: '#524de2',
    950: '#000000',
  },
}
SCSS
$custom: #524de2;
$custom-light: #9380ec;
$custom-dark: #000000;
JSON
{
  "hex": "#524de2",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 242.013,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.21819,
    "h": 277.1
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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