#523CD1#523CD1

#523CD1 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.216 H 281.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#523CD1
RGBrgb(82, 60, 209)
HSLhsl(249, 62%, 53%)
HSVhsv(249, 71%, 82%)
CMYKcmyk(60.8%, 71.3%, 0%, 18%)
CIE-LABlab(37.17, 50.33, -73.47)
CIE-LCHlch(37.17, 89.06, 304.41°)
OKLaboklab(48.02% 0.0421 -0.2118)
OKLCHoklch(48.02% 0.216 281.2)
XYZxyz(16.6005, 9.6278, 61.2928)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CD1 #BBD13C
analogous
#3C70D1 #523CD1 #9C3CD1
triadic
#523CD1 #D1523C #3CD152
tetradic
#523CD1 #D13C70 #BBD13C #3CD19C
square
#523CD1 #D13C70 #BBD13C #3CD19C
split-complementary
#523CD1 #D19C3C #70D13C
monochromatic
#291C77 #3B28A8 #523CD1 #7E6EDD #AA9FE8

Accessibility & contrast

On white

7.18
#523CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#523CD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CD1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CD1#FFFFFF#000000##FFFFFF
##523CD11.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD5
Deuteranopia (green-blind)
#0052CE
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #523cd1;
/* rgb */ color: rgb(82, 60, 209);
/* oklch */ color: oklch(48.0% 0.216 281.2);
Tailwind
colors: {
  custom: {
    50: '#9174e0',
    500: '#523cd1',
    950: '#000000',
  },
}
SCSS
$custom: #523cd1;
$custom-light: #9174e0;
$custom-dark: #000000;
JSON
{
  "hex": "#523cd1",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 248.859,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.21597,
    "h": 281.2
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#523CD1
secondary
#CBD594
accent
#E543CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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