#523DD5#523DD5

#523DD5 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.5% C 0.220 H 280.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#523DD5
RGBrgb(82, 61, 213)
HSLhsl(248, 64%, 54%)
HSVhsv(248, 71%, 84%)
CMYKcmyk(61.5%, 71.4%, 0%, 16.5%)
CIE-LABlab(37.72, 51.00, -74.86)
CIE-LCHlch(37.72, 90.58, 304.26°)
OKLaboklab(48.53% 0.0406 -0.2159)
OKLCHoklch(48.53% 0.22 280.6)
XYZxyz(17.1549, 9.9342, 63.9514)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DD5 #C0D53D
analogous
#3D74D5 #523DD5 #9E3DD5
triadic
#523DD5 #D5523D #3DD552
tetradic
#523DD5 #D53D74 #C0D53D #3DD59E
square
#523DD5 #D53D74 #C0D53D #3DD59E
split-complementary
#523DD5 #D59E3D #74D53D
monochromatic
#281B7D #3926AF #523DD5 #7F6FE0 #ACA2EB

Accessibility & contrast

On white

7.03
#523DD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#523DD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523DD5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DD5#FFFFFF#000000##FFFFFF
##523DD51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523dd5;
/* rgb */ color: rgb(82, 61, 213);
/* oklch */ color: oklch(48.5% 0.220 280.6);
Tailwind
colors: {
  custom: {
    50: '#9175e3',
    500: '#523dd5',
    950: '#000000',
  },
}
SCSS
$custom: #523dd5;
$custom-light: #9175e3;
$custom-dark: #000000;
JSON
{
  "hex": "#523dd5",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 248.289,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.21969,
    "h": 280.6
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#523DD5
secondary
#CED796
accent
#E740D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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