#523AE2#523AE2

#523AE2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.4% C 0.238 H 279.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#523AE2
RGBrgb(82, 58, 226)
HSLhsl(249, 74%, 56%)
HSVhsv(249, 74%, 89%)
CMYKcmyk(63.7%, 74.3%, 0%, 11.4%)
CIE-LABlab(38.39, 56.44, -81.22)
CIE-LCHlch(38.39, 98.90, 304.80°)
OKLaboklab(49.37% 0.0398 -0.2344)
OKLCHoklch(49.37% 0.238 279.6)
XYZxyz(18.7158, 10.3094, 72.9404)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AE2 #CAE23A
analogous
#3A76E2 #523AE2 #A63AE2
triadic
#523AE2 #E2523A #3AE252
tetradic
#523AE2 #E23A76 #CAE23A #3AE2A6
square
#523AE2 #E23A76 #CAE23A #3AE2A6
split-complementary
#523AE2 #E2A63A #76E23A
monochromatic
#26158D #341DC2 #523AE2 #816FEA #B0A5F2

Accessibility & contrast

On white

6.86
#523AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#523AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523AE2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AE2#FFFFFF#000000##FFFFFF
##523AE21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#006A8C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #523ae2;
/* rgb */ color: rgb(82, 58, 226);
/* oklch */ color: oklch(49.4% 0.238 279.6);
Tailwind
colors: {
  custom: {
    50: '#9474ec',
    500: '#523ae2',
    950: '#000000',
  },
}
SCSS
$custom: #523ae2;
$custom-light: #9474ec;
$custom-dark: #000000;
JSON
{
  "hex": "#523ae2",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 226
  },
  "hsl": {
    "h": 248.571,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.2378,
    "h": 279.6
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#523AE2
secondary
#D5DF99
accent
#F137D6
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #523AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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