#523BD2#523BD2

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

Color values

HEX#523BD2
RGBrgb(82, 59, 210)
HSLhsl(249, 63%, 53%)
HSVhsv(249, 72%, 82%)
CMYKcmyk(61%, 71.9%, 0%, 17.6%)
CIE-LABlab(37.07, 51.16, -74.21)
CIE-LCHlch(37.07, 90.14, 304.58°)
OKLaboklab(47.97% 0.0426 -0.214)
OKLCHoklch(47.97% 0.218 281.3)
XYZxyz(16.6728, 9.5737, 61.9296)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BD2 #BBD23B
analogous
#3B6FD2 #523BD2 #9D3BD2
triadic
#523BD2 #D2523B #3BD252
tetradic
#523BD2 #D23B6F #BBD23B #3BD29D
square
#523BD2 #D23B6F #BBD23B #3BD29D
split-complementary
#523BD2 #D29D3B #6FD23B
monochromatic
#291B77 #3B27A9 #523BD2 #7E6DDD #AA9FE9

Accessibility & contrast

On white

7.20
#523BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#523BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BD2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BD2#FFFFFF#000000##FFFFFF
##523BD21.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523bd2;
/* rgb */ color: rgb(82, 59, 210);
/* oklch */ color: oklch(48.0% 0.218 281.3);
Tailwind
colors: {
  custom: {
    50: '#9174e1',
    500: '#523bd2',
    950: '#000000',
  },
}
SCSS
$custom: #523bd2;
$custom-light: #9174e1;
$custom-dark: #000000;
JSON
{
  "hex": "#523bd2",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 249.139,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.2182,
    "h": 281.3
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#523BD2
secondary
#CBD594
accent
#E642CD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #523BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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