#524CA2#524CA2

#524CA2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.135 H 283.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#524CA2
RGBrgb(82, 76, 162)
HSLhsl(244, 36%, 47%)
HSVhsv(244, 53%, 64%)
CMYKcmyk(49.4%, 53.1%, 0%, 36.5%)
CIE-LABlab(37.06, 26.13, -45.99)
CIE-LCHlch(37.06, 52.89, 299.60°)
OKLaboklab(46.79% 0.0303 -0.1311)
OKLCHoklch(46.79% 0.135 283)
XYZxyz(12.5837, 9.5707, 35.3597)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CA2 #9CA24C
analogous
#4C71A2 #524CA2 #7D4CA2
triadic
#524CA2 #A2524C #4CA252
tetradic
#524CA2 #A24C71 #9CA24C #4CA27D
square
#524CA2 #A24C71 #9CA24C #4CA27D
split-complementary
#524CA2 #A27D4C #71A24C
monochromatic
#28254F #3D3878 #524CA2 #7570BC #9D99CF

Accessibility & contrast

On white

7.21
#524CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#524CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524CA2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CA2#FFFFFF#000000##FFFFFF
##524CA21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#355F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #524ca2;
/* rgb */ color: rgb(82, 76, 162);
/* oklch */ color: oklch(46.8% 0.135 283.0);
Tailwind
colors: {
  custom: {
    50: '#887ebe',
    500: '#524ca2',
    950: '#000000',
  },
}
SCSS
$custom: #524ca2;
$custom-light: #887ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#524ca2",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 244.186,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.13455,
    "h": 283
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#524CA2
secondary
#B9BC8E
accent
#CC5CC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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