#524EA4#524EA4

#524EA4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.135 H 282.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#524EA4
RGBrgb(82, 78, 164)
HSLhsl(243, 36%, 47%)
HSVhsv(243, 52%, 64%)
CMYKcmyk(50%, 52.4%, 0%, 35.7%)
CIE-LABlab(37.70, 25.50, -46.15)
CIE-LCHlch(37.70, 52.73, 298.92°)
OKLaboklab(47.31% 0.0281 -0.1315)
OKLCHoklch(47.31% 0.135 282)
XYZxyz(12.9029, 9.9223, 36.3501)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EA4 #A0A44E
analogous
#4E75A4 #524EA4 #7D4EA4
triadic
#524EA4 #A4524E #4EA452
tetradic
#524EA4 #A44E75 #A0A44E #4EA47D
square
#524EA4 #A44E75 #A0A44E #4EA47D
split-complementary
#524EA4 #A47D4E #75A44E
monochromatic
#292751 #3D3A7B #524EA4 #7673BC #9F9CD0

Accessibility & contrast

On white

7.04
#524EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#524EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524EA4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EA4#FFFFFF#000000##FFFFFF
##524EA41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#346171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524ea4;
/* rgb */ color: rgb(82, 78, 164);
/* oklch */ color: oklch(47.3% 0.135 282.0);
Tailwind
colors: {
  custom: {
    50: '#887fbf',
    500: '#524ea4',
    950: '#000000',
  },
}
SCSS
$custom: #524ea4;
$custom-light: #887fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#524ea4",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 242.791,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.13451,
    "h": 282
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#524EA4
secondary
#BBBD91
accent
#CC5CC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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