#524ABE#524ABE

#524ABE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.176 H 280.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#524ABE
RGBrgb(82, 74, 190)
HSLhsl(244, 47%, 52%)
HSVhsv(244, 61%, 75%)
CMYKcmyk(56.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(38.57, 36.32, -60.13)
CIE-LCHlch(38.57, 70.25, 301.13°)
OKLaboklab(48.54% 0.0326 -0.1727)
OKLCHoklch(48.54% 0.176 280.7)
XYZxyz(15.2198, 10.4081, 49.9122)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ABE #B6BE4A
analogous
#4A7CBE #524ABE #8C4ABE
triadic
#524ABE #BE524A #4ABE52
tetradic
#524ABE #BE4A7C #B6BE4A #4ABE8C
square
#524ABE #BE4A7C #B6BE4A #4ABE8C
split-complementary
#524ABE #BE8C4A #7CBE4A
monochromatic
#2A2568 #3C3695 #524ABE #7D77CE #A8A4DE

Accessibility & contrast

On white

6.81
#524ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524ABE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ABE#FFFFFF#000000##FFFFFF
##524ABE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#17667D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524abe;
/* rgb */ color: rgb(82, 74, 190);
/* oklch */ color: oklch(48.5% 0.176 280.7);
Tailwind
colors: {
  custom: {
    50: '#8d7dd2',
    500: '#524abe',
    950: '#000000',
  },
}
SCSS
$custom: #524abe;
$custom-light: #8d7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#524abe",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 244.138,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48538,
    "c": 0.17575,
    "h": 280.7
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#524ABE
secondary
#C8CB98
accent
#D751CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #524ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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