#523EC6#523EC6

#523EC6 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.3% C 0.200 H 282.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#523EC6
RGBrgb(82, 62, 198)
HSLhsl(249, 54%, 51%)
HSVhsv(249, 69%, 78%)
CMYKcmyk(58.6%, 68.7%, 0%, 22.4%)
CIE-LABlab(36.58, 45.88, -68.04)
CIE-LCHlch(36.58, 82.06, 303.99°)
OKLaboklab(47.3% 0.0425 -0.1959)
OKLCHoklch(47.3% 0.2 282.2)
XYZxyz(15.3922, 9.3153, 54.4021)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EC6 #B2C63E
analogous
#3E6EC6 #523EC6 #963EC6
triadic
#523EC6 #C6523E #3EC652
tetradic
#523EC6 #C63E6E #B2C63E #3EC696
square
#523EC6 #C63E6E #B2C63E #3EC696
split-complementary
#523EC6 #C6963E #6EC63E
monochromatic
#2A1F6A #3D2D99 #523EC6 #7C6DD4 #A79CE2

Accessibility & contrast

On white

7.33
#523EC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#523EC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EC6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EC6#FFFFFF#000000##FFFFFF
##523EC61.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#04627D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523ec6;
/* rgb */ color: rgb(82, 62, 198);
/* oklch */ color: oklch(47.3% 0.200 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f75d8',
    500: '#523ec6',
    950: '#000000',
  },
}
SCSS
$custom: #523ec6;
$custom-light: #8f75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#523ec6",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 248.824,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.20049,
    "h": 282.2
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#523EC6
secondary
#C5CE92
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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