#523CD5#523CD5

#523CD5 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.4% C 0.221 H 280.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#523CD5
RGBrgb(82, 60, 213)
HSLhsl(249, 65%, 54%)
HSVhsv(249, 72%, 84%)
CMYKcmyk(61.5%, 71.8%, 0%, 16.5%)
CIE-LABlab(37.53, 51.53, -75.18)
CIE-LCHlch(37.53, 91.14, 304.43°)
OKLaboklab(48.39% 0.0413 -0.2168)
OKLCHoklch(48.39% 0.221 280.8)
XYZxyz(17.1020, 9.8284, 63.9337)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CD5 #BFD53C
analogous
#3C72D5 #523CD5 #9E3CD5
triadic
#523CD5 #D5523C #3CD552
tetradic
#523CD5 #D53C72 #BFD53C #3CD59E
square
#523CD5 #D53C72 #BFD53C #3CD59E
split-complementary
#523CD5 #D59E3C #72D53C
monochromatic
#291B7C #3926AE #523CD5 #7F6EE0 #ABA1EB

Accessibility & contrast

On white

7.08
#523CD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#523CD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CD5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CD5#FFFFFF#000000##FFFFFF
##523CD51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDA
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #523cd5;
/* rgb */ color: rgb(82, 60, 213);
/* oklch */ color: oklch(48.4% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#9174e3',
    500: '#523cd5',
    950: '#000000',
  },
}
SCSS
$custom: #523cd5;
$custom-light: #9174e3;
$custom-dark: #000000;
JSON
{
  "hex": "#523cd5",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 248.627,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.22072,
    "h": 280.8
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#523CD5
secondary
#CED796
accent
#E840CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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