#523ECC#523ECC

#523ECC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.208 H 281.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#523ECC
RGBrgb(82, 62, 204)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(59.8%, 69.6%, 0%, 20%)
CIE-LABlab(37.11, 47.72, -70.67)
CIE-LCHlch(37.11, 85.27, 304.03°)
OKLaboklab(47.84% 0.0415 -0.2036)
OKLCHoklch(47.84% 0.208 281.5)
XYZxyz(16.0980, 9.5976, 58.1193)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ECC #B8CC3E
analogous
#3E71CC #523ECC #993ECC
triadic
#523ECC #CC523E #3ECC52
tetradic
#523ECC #CC3E71 #B8CC3E #3ECC99
square
#523ECC #CC3E71 #B8CC3E #3ECC99
split-complementary
#523ECC #CC993E #71CC3E
monochromatic
#2A1E72 #3C2BA2 #523ECC #7D6ED9 #A99FE6

Accessibility & contrast

On white

7.19
#523ECC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#523ECC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ECC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ECC#FFFFFF#000000##FFFFFF
##523ECC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #523ecc;
/* rgb */ color: rgb(82, 62, 204);
/* oklch */ color: oklch(47.8% 0.208 281.5);
Tailwind
colors: {
  custom: {
    50: '#9075dd',
    500: '#523ecc',
    950: '#000000',
  },
}
SCSS
$custom: #523ecc;
$custom-light: #9075dd;
$custom-dark: #000000;
JSON
{
  "hex": "#523ecc",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 248.451,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.20782,
    "h": 281.5
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#523ECC
secondary
#C9D294
accent
#E146CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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