#523EB9#523EB9

#523EB9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.2% C 0.184 H 283.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#523EB9
RGBrgb(82, 62, 185)
HSLhsl(250, 50%, 48%)
HSVhsv(250, 66%, 73%)
CMYKcmyk(55.7%, 66.5%, 0%, 27.5%)
CIE-LABlab(35.48, 41.89, -62.22)
CIE-LCHlch(35.48, 75.00, 303.95°)
OKLaboklab(46.17% 0.0444 -0.1789)
OKLCHoklch(46.17% 0.184 283.9)
XYZxyz(13.9566, 8.7410, 46.8413)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EB9 #A5B93E
analogous
#3E67B9 #523EB9 #8F3EB9
triadic
#523EB9 #B9523E #3EB952
tetradic
#523EB9 #B93E67 #A5B93E #3EB98F
square
#523EB9 #B93E67 #A5B93E #3EB98F
split-complementary
#523EB9 #B98F3E #67B93E
monochromatic
#291F5D #3E2F8B #523EB9 #7868CC #A196DC

Accessibility & contrast

On white

7.64
#523EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#523EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EB9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EB9#FFFFFF#000000##FFFFFF
##523EB91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#215D76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523eb9;
/* rgb */ color: rgb(82, 62, 185);
/* oklch */ color: oklch(46.2% 0.184 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d75cf',
    500: '#523eb9',
    950: '#000000',
  },
}
SCSS
$custom: #523eb9;
$custom-light: #8d75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#523eb9",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 249.756,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.18429,
    "h": 283.9
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#523EB9
secondary
#BEC78C
accent
#D94EC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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