#523ED2#523ED2

#523ED2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.215 H 280.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#523ED2
RGBrgb(82, 62, 210)
HSLhsl(248, 62%, 53%)
HSVhsv(248, 70%, 82%)
CMYKcmyk(61%, 70.5%, 0%, 17.6%)
CIE-LABlab(37.65, 49.55, -73.26)
CIE-LCHlch(37.65, 88.44, 304.07°)
OKLaboklab(48.39% 0.0405 -0.2112)
OKLCHoklch(48.39% 0.215 280.8)
XYZxyz(16.8315, 9.8910, 61.9825)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED2 #BED23E
analogous
#3E74D2 #523ED2 #9C3ED2
triadic
#523ED2 #D2523E #3ED252
tetradic
#523ED2 #D23E74 #BED23E #3ED29C
square
#523ED2 #D23E74 #BED23E #3ED29C
split-complementary
#523ED2 #D29C3E #74D23E
monochromatic
#291C79 #3A28AB #523ED2 #7E70DE #ABA1E9

Accessibility & contrast

On white

7.05
#523ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#523ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ED2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED2#FFFFFF#000000##FFFFFF
##523ED21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523ed2;
/* rgb */ color: rgb(82, 62, 210);
/* oklch */ color: oklch(48.4% 0.215 280.8);
Tailwind
colors: {
  custom: {
    50: '#9175e1',
    500: '#523ed2',
    950: '#000000',
  },
}
SCSS
$custom: #523ed2;
$custom-light: #9175e1;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed2",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 248.108,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48387,
    "c": 0.21507,
    "h": 280.8
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#523ED2
secondary
#CDD696
accent
#E543CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523ED2

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

Preview Lab → · Contrast checker → · Palette generator →

#523ED2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva