#524DB4#524DB4

#524DB4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.158 H 280.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#524DB4
RGBrgb(82, 77, 180)
HSLhsl(243, 41%, 50%)
HSVhsv(243, 57%, 71%)
CMYKcmyk(54.4%, 57.2%, 0%, 29.4%)
CIE-LABlab(38.54, 31.26, -54.29)
CIE-LCHlch(38.54, 62.65, 299.93°)
OKLaboklab(48.29% 0.0298 -0.1555)
OKLCHoklch(48.29% 0.158 280.8)
XYZxyz(14.3692, 10.3960, 44.4206)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DB4 #AFB44D
analogous
#4D7BB4 #524DB4 #864DB4
triadic
#524DB4 #B4524D #4DB452
tetradic
#524DB4 #B44D7B #AFB44D #4DB486
square
#524DB4 #B44D7B #AFB44D #4DB486
split-complementary
#524DB4 #B4864D #7BB44D
monochromatic
#2B285F #3E3A8A #524DB4 #7C78C6 #A6A3D8

Accessibility & contrast

On white

6.82
#524DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#524DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DB4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DB4#FFFFFF#000000##FFFFFF
##524DB41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#256579
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524db4;
/* rgb */ color: rgb(82, 77, 180);
/* oklch */ color: oklch(48.3% 0.158 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b7fcb',
    500: '#524db4',
    950: '#000000',
  },
}
SCSS
$custom: #524db4;
$custom-light: #8b7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#524db4",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 242.913,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.15833,
    "h": 280.8
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#524DB4
secondary
#C3C597
accent
#D157CB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #524DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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