#524AB2#524AB2

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

Color values

HEX#524AB2
RGBrgb(82, 74, 178)
HSLhsl(245, 41%, 49%)
HSVhsv(245, 58%, 70%)
CMYKcmyk(53.9%, 58.4%, 0%, 30.2%)
CIE-LABlab(37.67, 32.48, -54.52)
CIE-LCHlch(37.67, 63.46, 300.78°)
OKLaboklab(47.6% 0.033 -0.1562)
OKLCHoklch(47.6% 0.16 281.9)
XYZxyz(13.9619, 9.9049, 43.2870)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AB2 #AAB24A
analogous
#4A76B2 #524AB2 #864AB2
triadic
#524AB2 #B2524A #4AB252
tetradic
#524AB2 #B24A76 #AAB24A #4AB286
square
#524AB2 #B24A76 #AAB24A #4AB286
split-complementary
#524AB2 #B2864A #76B24A
monochromatic
#2A265C #3E3887 #524AB2 #7A74C5 #A49FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524AB2#FFFFFF#000000##FFFFFF
##524AB21.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)
#005CB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#286277
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524ab2;
/* rgb */ color: rgb(82, 74, 178);
/* oklch */ color: oklch(47.6% 0.160 281.9);
Tailwind
colors: {
  custom: {
    50: '#8b7dca',
    500: '#524ab2',
    950: '#000000',
  },
}
SCSS
$custom: #524ab2;
$custom-light: #8b7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#524ab2",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 244.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.15965,
    "h": 281.9
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#524AB2
secondary
#C0C494
accent
#D157C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #524AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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