#523ED5#523ED5

#523ED5 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.7% C 0.219 H 280.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#523ED5
RGBrgb(82, 62, 213)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(61.5%, 70.9%, 0%, 16.5%)
CIE-LABlab(37.92, 50.46, -74.55)
CIE-LCHlch(37.92, 90.02, 304.09°)
OKLaboklab(48.66% 0.0399 -0.215)
OKLCHoklch(48.66% 0.219 280.5)
XYZxyz(17.2087, 10.0419, 63.9693)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED5 #C1D53E
analogous
#3E76D5 #523ED5 #9E3ED5
triadic
#523ED5 #D5523E #3ED552
tetradic
#523ED5 #D53E76 #C1D53E #3ED59E
square
#523ED5 #D53E76 #C1D53E #3ED59E
split-complementary
#523ED5 #D59E3E #76D53E
monochromatic
#281B7D #3826B0 #523ED5 #7F70E0 #ACA3EB

Accessibility & contrast

On white

6.98
#523ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#523ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523ED5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED5#FFFFFF#000000##FFFFFF
##523ED51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523ed5;
/* rgb */ color: rgb(82, 62, 213);
/* oklch */ color: oklch(48.7% 0.219 280.5);
Tailwind
colors: {
  custom: {
    50: '#9176e3',
    500: '#523ed5',
    950: '#000000',
  },
}
SCSS
$custom: #523ed5;
$custom-light: #9176e3;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed5",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 247.947,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.21865,
    "h": 280.5
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#523ED5
secondary
#CFD897
accent
#E741D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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