#523CFB#523CFB

#523CFB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 52.1% C 0.264 H 277.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#523CFB
RGBrgb(82, 60, 251)
HSLhsl(247, 96%, 61%)
HSVhsv(247, 76%, 98%)
CMYKcmyk(67.3%, 76.1%, 0%, 1.6%)
CIE-LABlab(41.20, 62.77, -90.72)
CIE-LCHlch(41.20, 110.32, 304.68°)
OKLaboklab(52.07% 0.0329 -0.2621)
OKLCHoklch(52.07% 0.264 277.2)
XYZxyz(22.5025, 11.9886, 92.3762)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CFB #E5FB3C
analogous
#3C85FB #523CFB #B13CFB
triadic
#523CFB #FB523C #3CFB52
tetradic
#523CFB #FB3C85 #E5FB3C #3CFBB1
square
#523CFB #FB3C85 #E5FB3C #3CFBB1
split-complementary
#523CFB #FBB13C #85FB3C
monochromatic
#1904B9 #2105F5 #523CFB #8778FC #BCB4FD

Accessibility & contrast

On white

6.18
#523CFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#523CFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523CFB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CFB#FFFFFF#000000##FFFFFF
##523CFB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0059F8
Tritanopia (blue-blind)
#00759A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #523cfb;
/* rgb */ color: rgb(82, 60, 251);
/* oklch */ color: oklch(52.1% 0.264 277.2);
Tailwind
colors: {
  custom: {
    50: '#9876fe',
    500: '#523cfb',
    950: '#000000',
  },
}
SCSS
$custom: #523cfb;
$custom-light: #9876fe;
$custom-dark: #000000;
JSON
{
  "hex": "#523cfb",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 251
  },
  "hsl": {
    "h": 246.911,
    "s": 95.98,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.26421,
    "h": 277.2
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#523CFB
secondary
#E5EDA5
accent
#E600CB
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #523CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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