#524EA2#524EA2

#524EA2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.132 H 282.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#524EA2
RGBrgb(82, 78, 162)
HSLhsl(243, 35%, 47%)
HSVhsv(243, 52%, 64%)
CMYKcmyk(49.4%, 51.9%, 0%, 36.5%)
CIE-LABlab(37.57, 24.86, -45.16)
CIE-LCHlch(37.57, 51.55, 298.83°)
OKLaboklab(47.18% 0.0279 -0.1286)
OKLCHoklch(47.18% 0.132 282.2)
XYZxyz(12.7237, 9.8506, 35.4063)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EA2 #9EA24E
analogous
#4E74A2 #524EA2 #7C4EA2
triadic
#524EA2 #A2524E #4EA252
tetradic
#524EA2 #A24E74 #9EA24E #4EA27C
square
#524EA2 #A24E74 #9EA24E #4EA27C
split-complementary
#524EA2 #A27C4E #74A24E
monochromatic
#28264F #3D3A79 #524EA2 #7672BB #9E9BCF

Accessibility & contrast

On white

7.07
#524EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#524EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524EA2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EA2#FFFFFF#000000##FFFFFF
##524EA21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#356070
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #524ea2;
/* rgb */ color: rgb(82, 78, 162);
/* oklch */ color: oklch(47.2% 0.132 282.2);
Tailwind
colors: {
  custom: {
    50: '#887fbe',
    500: '#524ea2',
    950: '#000000',
  },
}
SCSS
$custom: #524ea2;
$custom-light: #887fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#524ea2",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 242.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.13165,
    "h": 282.2
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#524EA2
secondary
#BABC90
accent
#CB5DC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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