#523FC6#523FC6

#523FC6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.4% C 0.199 H 282.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#523FC6
RGBrgb(82, 63, 198)
HSLhsl(248, 54%, 51%)
HSVhsv(248, 68%, 78%)
CMYKcmyk(58.6%, 68.2%, 0%, 22.4%)
CIE-LABlab(36.79, 45.32, -67.70)
CIE-LCHlch(36.79, 81.47, 303.80°)
OKLaboklab(47.45% 0.0417 -0.1949)
OKLCHoklch(47.45% 0.199 282.1)
XYZxyz(15.4471, 9.4250, 54.4204)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FC6 #B3C63F
analogous
#3F6FC6 #523FC6 #953FC6
triadic
#523FC6 #C6523F #3FC652
tetradic
#523FC6 #C63F6F #B3C63F #3FC695
square
#523FC6 #C63F6F #B3C63F #3FC695
split-complementary
#523FC6 #C6953F #6FC63F
monochromatic
#2A206B #3D2E9A #523FC6 #7D6ED4 #A79DE2

Accessibility & contrast

On white

7.28
#523FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#523FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FC6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FC6#FFFFFF#000000##FFFFFF
##523FC61.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523fc6;
/* rgb */ color: rgb(82, 63, 198);
/* oklch */ color: oklch(47.4% 0.199 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f76d8',
    500: '#523fc6',
    950: '#000000',
  },
}
SCSS
$custom: #523fc6;
$custom-light: #8f76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#523fc6",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 248.444,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.19935,
    "h": 282.1
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#523FC6
secondary
#C6CE93
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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