#523BD3#523BD3

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

Color values

HEX#523BD3
RGBrgb(82, 59, 211)
HSLhsl(249, 63%, 53%)
HSVhsv(249, 72%, 83%)
CMYKcmyk(61.1%, 72%, 0%, 17.3%)
CIE-LABlab(37.16, 51.46, -74.64)
CIE-LCHlch(37.16, 90.66, 304.58°)
OKLaboklab(48.07% 0.0424 -0.2152)
OKLCHoklch(48.07% 0.219 281.1)
XYZxyz(16.7978, 9.6237, 62.5878)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BD3 #BCD33B
analogous
#3B70D3 #523BD3 #9E3BD3
triadic
#523BD3 #D3523B #3BD352
tetradic
#523BD3 #D33B70 #BCD33B #3BD39E
square
#523BD3 #D33B70 #BCD33B #3BD39E
split-complementary
#523BD3 #D39E3B #70D33B
monochromatic
#291B79 #3A26AB #523BD3 #7E6DDE #AA9FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##523BD3#FFFFFF#000000##FFFFFF
##523BD31.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)
#005DD7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #523bd3;
/* rgb */ color: rgb(82, 59, 211);
/* oklch */ color: oklch(48.1% 0.219 281.1);
Tailwind
colors: {
  custom: {
    50: '#9174e2',
    500: '#523bd3',
    950: '#000000',
  },
}
SCSS
$custom: #523bd3;
$custom-light: #9174e2;
$custom-dark: #000000;
JSON
{
  "hex": "#523bd3",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 249.079,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.21938,
    "h": 281.1
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#523BD3
secondary
#CCD694
accent
#E641CD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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