#523CD8#523CD8

#523CD8 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.7% C 0.224 H 280.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#523CD8
RGBrgb(82, 60, 216)
HSLhsl(248, 67%, 54%)
HSVhsv(248, 72%, 85%)
CMYKcmyk(62%, 72.2%, 0%, 15.3%)
CIE-LABlab(37.81, 52.43, -76.45)
CIE-LCHlch(37.81, 92.70, 304.44°)
OKLaboklab(48.67% 0.0407 -0.2205)
OKLCHoklch(48.67% 0.224 280.5)
XYZxyz(17.4863, 9.9821, 65.9577)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CD8 #C2D83C
analogous
#3C74D8 #523CD8 #A03CD8
triadic
#523CD8 #D8523C #3CD852
tetradic
#523CD8 #D83C74 #C2D83C #3CD8A0
square
#523CD8 #D83C74 #C2D83C #3CD8A0
split-complementary
#523CD8 #D8A03C #74D83C
monochromatic
#281A80 #3824B3 #523CD8 #7F6FE2 #ACA2EC

Accessibility & contrast

On white

7.01
#523CD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#523CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523CD8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CD8#FFFFFF#000000##FFFFFF
##523CD81.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0053D5
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #523cd8;
/* rgb */ color: rgb(82, 60, 216);
/* oklch */ color: oklch(48.7% 0.224 280.5);
Tailwind
colors: {
  custom: {
    50: '#9274e5',
    500: '#523cd8',
    950: '#000000',
  },
}
SCSS
$custom: #523cd8;
$custom-light: #9274e5;
$custom-dark: #000000;
JSON
{
  "hex": "#523cd8",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 248.462,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.22426,
    "h": 280.5
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#523CD8
secondary
#D0D997
accent
#EA3ED1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #523CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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