#524FA2#524FA2

#524FA2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.130 H 281.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#524FA2
RGBrgb(82, 79, 162)
HSLhsl(242, 34%, 47%)
HSVhsv(242, 51%, 64%)
CMYKcmyk(49.4%, 51.2%, 0%, 36.5%)
CIE-LABlab(37.83, 24.22, -44.75)
CIE-LCHlch(37.83, 50.89, 298.43°)
OKLaboklab(47.37% 0.0267 -0.1274)
OKLCHoklch(47.37% 0.13 281.8)
XYZxyz(12.7953, 9.9938, 35.4302)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FA2 #9FA24F
analogous
#4F75A2 #524FA2 #7C4FA2
triadic
#524FA2 #A2524F #4FA252
tetradic
#524FA2 #A24F75 #9FA24F #4FA27C
square
#524FA2 #A24F75 #9FA24F #4FA27C
split-complementary
#524FA2 #A27C4F #75A24F
monochromatic
#282750 #3D3B79 #524FA2 #7673BB #9E9CCF

Accessibility & contrast

On white

7.00
#524FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#524FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FA2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FA2#FFFFFF#000000##FFFFFF
##524FA21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#356171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524fa2;
/* rgb */ color: rgb(82, 79, 162);
/* oklch */ color: oklch(47.4% 0.130 281.8);
Tailwind
colors: {
  custom: {
    50: '#8880be',
    500: '#524fa2',
    950: '#000000',
  },
}
SCSS
$custom: #524fa2;
$custom-light: #8880be;
$custom-dark: #000000;
JSON
{
  "hex": "#524fa2",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 242.169,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.13019,
    "h": 281.8
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#524FA2
secondary
#BABC91
accent
#CB5DC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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