#523DC8#523DC8

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

Color values

HEX#523DC8
RGBrgb(82, 61, 200)
HSLhsl(249, 56%, 51%)
HSVhsv(249, 70%, 78%)
CMYKcmyk(59%, 69.5%, 0%, 21.6%)
CIE-LABlab(36.56, 47.05, -69.25)
CIE-LCHlch(36.56, 83.72, 304.19°)
OKLaboklab(47.34% 0.043 -0.1995)
OKLCHoklch(47.34% 0.204 282.2)
XYZxyz(15.5705, 9.3004, 55.6070)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DC8 #B3C83D
analogous
#3D6DC8 #523DC8 #973DC8
triadic
#523DC8 #C8523D #3DC852
tetradic
#523DC8 #C83D6D #B3C83D #3DC897
square
#523DC8 #C83D6D #B3C83D #3DC897
split-complementary
#523DC8 #C8973D #6DC83D
monochromatic
#2A1F6C #3D2C9C #523DC8 #7D6DD6 #A79CE3

Accessibility & contrast

On white

7.34
#523DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523DC8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DC8#FFFFFF#000000##FFFFFF
##523DC81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #523dc8;
/* rgb */ color: rgb(82, 61, 200);
/* oklch */ color: oklch(47.3% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f74da',
    500: '#523dc8',
    950: '#000000',
  },
}
SCSS
$custom: #523dc8;
$custom-light: #8f74da;
$custom-dark: #000000;
JSON
{
  "hex": "#523dc8",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 249.065,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.20406,
    "h": 282.2
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#523DC8
secondary
#C6CF92
accent
#DF49C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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