#524DB8#524DB8

#524DB8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.164 H 280.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#524DB8
RGBrgb(82, 77, 184)
HSLhsl(243, 43%, 51%)
HSVhsv(243, 58%, 72%)
CMYKcmyk(55.4%, 58.2%, 0%, 27.8%)
CIE-LABlab(38.83, 32.55, -56.18)
CIE-LCHlch(38.83, 64.93, 300.08°)
OKLaboklab(48.59% 0.0298 -0.161)
OKLCHoklch(48.59% 0.164 280.5)
XYZxyz(14.7826, 10.5613, 46.5977)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DB8 #B3B84D
analogous
#4D7DB8 #524DB8 #874DB8
triadic
#524DB8 #B8524D #4DB852
tetradic
#524DB8 #B84D7D #B3B84D #4DB887
square
#524DB8 #B84D7D #B3B84D #4DB887
split-complementary
#524DB8 #B8874D #7DB84D
monochromatic
#2A2863 #3D398F #524DB8 #7D79C9 #A7A4DB

Accessibility & contrast

On white

6.75
#524DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#524DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DB8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DB8#FFFFFF#000000##FFFFFF
##524DB81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#20667B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524db8;
/* rgb */ color: rgb(82, 77, 184);
/* oklch */ color: oklch(48.6% 0.164 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b7fce',
    500: '#524db8',
    950: '#000000',
  },
}
SCSS
$custom: #524db8;
$custom-light: #8b7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#524db8",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 242.804,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.16378,
    "h": 280.5
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#524DB8
secondary
#C6C899
accent
#D355CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524DB8

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

Preview Lab → · Contrast checker → · Palette generator →

#524DB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva