#523ED8#523ED8

#523ED8 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.222 H 280.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#523ED8
RGBrgb(82, 62, 216)
HSLhsl(248, 66%, 55%)
HSVhsv(248, 71%, 85%)
CMYKcmyk(62%, 71.3%, 0%, 15.3%)
CIE-LABlab(38.19, 51.37, -75.82)
CIE-LCHlch(38.19, 91.58, 304.12°)
OKLaboklab(48.94% 0.0393 -0.2187)
OKLCHoklch(48.94% 0.222 280.2)
XYZxyz(17.5930, 10.1956, 65.9933)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED8 #C4D83E
analogous
#3E77D8 #523ED8 #9F3ED8
triadic
#523ED8 #D8523E #3ED852
tetradic
#523ED8 #D83E77 #C4D83E #3ED89F
square
#523ED8 #D83E77 #C4D83E #3ED89F
split-complementary
#523ED8 #D89F3E #77D83E
monochromatic
#281A81 #3724B4 #523ED8 #8071E2 #ADA4ED

Accessibility & contrast

On white

6.91
#523ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#523ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523ED8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED8#FFFFFF#000000##FFFFFF
##523ED81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #523ed8;
/* rgb */ color: rgb(82, 62, 216);
/* oklch */ color: oklch(48.9% 0.222 280.2);
Tailwind
colors: {
  custom: {
    50: '#9276e5',
    500: '#523ed8',
    950: '#000000',
  },
}
SCSS
$custom: #523ed8;
$custom-light: #9276e5;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed8",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 247.792,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.22223,
    "h": 280.2
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#523ED8
secondary
#D1D998
accent
#E93ED3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #523ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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