#523CCC#523CCC

#523CCC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.6% C 0.210 H 281.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#523CCC
RGBrgb(82, 60, 204)
HSLhsl(249, 59%, 52%)
HSVhsv(249, 71%, 80%)
CMYKcmyk(59.8%, 70.6%, 0%, 20%)
CIE-LABlab(36.71, 48.81, -71.32)
CIE-LCHlch(36.71, 86.42, 304.39°)
OKLaboklab(47.56% 0.043 -0.2055)
OKLCHoklch(47.56% 0.21 281.8)
XYZxyz(15.9912, 9.3841, 58.0837)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CCC #B6CC3C
analogous
#3C6ECC #523CCC #9A3CCC
triadic
#523CCC #CC523C #3CCC52
tetradic
#523CCC #CC3C6E #B6CC3C #3CCC9A
square
#523CCC #CC3C6E #B6CC3C #3CCC9A
split-complementary
#523CCC #CC9A3C #6ECC3C
monochromatic
#2A1D70 #3C2AA1 #523CCC #7D6DD9 #A89DE5

Accessibility & contrast

On white

7.30
#523CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#523CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CCC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CCC#FFFFFF#000000##FFFFFF
##523CCC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523ccc;
/* rgb */ color: rgb(82, 60, 204);
/* oklch */ color: oklch(47.6% 0.210 281.8);
Tailwind
colors: {
  custom: {
    50: '#9074dd',
    500: '#523ccc',
    950: '#000000',
  },
}
SCSS
$custom: #523ccc;
$custom-light: #9074dd;
$custom-dark: #000000;
JSON
{
  "hex": "#523ccc",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 249.167,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.20999,
    "h": 281.8
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#523CCC
secondary
#C8D192
accent
#E246CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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