#523EE2#523EE2

#523EE2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.9% C 0.234 H 279.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#523EE2
RGBrgb(82, 62, 226)
HSLhsl(247, 74%, 56%)
HSVhsv(247, 73%, 89%)
CMYKcmyk(63.7%, 72.6%, 0%, 11.4%)
CIE-LABlab(39.12, 54.39, -80.02)
CIE-LCHlch(39.12, 96.75, 304.20°)
OKLaboklab(49.88% 0.0374 -0.231)
OKLCHoklch(49.88% 0.234 279.2)
XYZxyz(18.9254, 10.7286, 73.0103)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EE2 #CEE23E
analogous
#3E7CE2 #523EE2 #A43EE2
triadic
#523EE2 #E2523E #3EE252
tetradic
#523EE2 #E23E7C #CEE23E #3EE2A4
square
#523EE2 #E23E7C #CEE23E #3EE2A4
split-complementary
#523EE2 #E2A43E #7CE23E
monochromatic
#251690 #321EC5 #523EE2 #8273EA #B1A8F2

Accessibility & contrast

On white

6.68
#523EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#523EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523EE2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EE2#FFFFFF#000000##FFFFFF
##523EE21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006C8D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #523ee2;
/* rgb */ color: rgb(82, 62, 226);
/* oklch */ color: oklch(49.9% 0.234 279.2);
Tailwind
colors: {
  custom: {
    50: '#9476ec',
    500: '#523ee2',
    950: '#000000',
  },
}
SCSS
$custom: #523ee2;
$custom-light: #9476ec;
$custom-dark: #000000;
JSON
{
  "hex": "#523ee2",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 247.317,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.23398,
    "h": 279.2
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#523EE2
secondary
#D7E09C
accent
#F137DA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #523EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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