#523ED4#523ED4

#523ED4 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.6% C 0.217 H 280.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#523ED4
RGBrgb(82, 62, 212)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 83%)
CMYKcmyk(61.3%, 70.8%, 0%, 16.9%)
CIE-LABlab(37.83, 50.15, -74.12)
CIE-LCHlch(37.83, 89.49, 304.09°)
OKLaboklab(48.57% 0.0401 -0.2137)
OKLCHoklch(48.57% 0.217 280.6)
XYZxyz(17.0822, 9.9913, 63.3029)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED4 #C0D43E
analogous
#3E75D4 #523ED4 #9D3ED4
triadic
#523ED4 #D4523E #3ED452
tetradic
#523ED4 #D43E75 #C0D43E #3ED49D
square
#523ED4 #D43E75 #C0D43E #3ED49D
split-complementary
#523ED4 #D49D3E #75D43E
monochromatic
#281C7C #3927AE #523ED4 #7F70DF #ACA2EA

Accessibility & contrast

On white

7.00
#523ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#523ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523ED4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED4#FFFFFF#000000##FFFFFF
##523ED41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523ed4;
/* rgb */ color: rgb(82, 62, 212);
/* oklch */ color: oklch(48.6% 0.217 280.6);
Tailwind
colors: {
  custom: {
    50: '#9176e2',
    500: '#523ed4',
    950: '#000000',
  },
}
SCSS
$custom: #523ed4;
$custom-light: #9176e2;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed4",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 248,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.21746,
    "h": 280.6
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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