#523FB2#523FB2

#523FB2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.174 H 284.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#523FB2
RGBrgb(82, 63, 178)
HSLhsl(250, 48%, 47%)
HSVhsv(250, 65%, 70%)
CMYKcmyk(53.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(35.13, 39.14, -58.65)
CIE-LCHlch(35.13, 70.52, 303.72°)
OKLaboklab(45.74% 0.0443 -0.1684)
OKLCHoklch(45.74% 0.174 284.7)
XYZxyz(13.2906, 8.5625, 43.0632)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FB2 #9FB23F
analogous
#3F66B2 #523FB2 #8C3FB2
triadic
#523FB2 #B2523F #3FB252
tetradic
#523FB2 #B23F66 #9FB23F #3FB28C
square
#523FB2 #B23F66 #9FB23F #3FB28C
split-complementary
#523FB2 #B28C3F #66B23F
monochromatic
#281F58 #3D2F85 #523FB2 #7666C9 #9E93D9

Accessibility & contrast

On white

7.74
#523FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#523FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FB2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FB2#FFFFFF#000000##FFFFFF
##523FB21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#295B73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523fb2;
/* rgb */ color: rgb(82, 63, 178);
/* oklch */ color: oklch(45.7% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#8b75ca',
    500: '#523fb2',
    950: '#000000',
  },
}
SCSS
$custom: #523fb2;
$custom-light: #8b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#523fb2",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 249.913,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.17411,
    "h": 284.7
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#523FB2
secondary
#BAC489
accent
#D750C1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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