#524CA1#524CA1

#524CA1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.133 H 283.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#524CA1
RGBrgb(82, 76, 161)
HSLhsl(244, 36%, 46%)
HSVhsv(244, 53%, 63%)
CMYKcmyk(49.1%, 52.8%, 0%, 36.9%)
CIE-LABlab(37.00, 25.81, -45.49)
CIE-LCHlch(37.00, 52.30, 299.57°)
OKLaboklab(46.72% 0.0303 -0.1296)
OKLCHoklch(46.72% 0.133 283.1)
XYZxyz(12.4952, 9.5353, 34.8934)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CA1 #9BA14C
analogous
#4C71A1 #524CA1 #7D4CA1
triadic
#524CA1 #A1524C #4CA152
tetradic
#524CA1 #A14C71 #9BA14C #4CA17D
square
#524CA1 #A14C71 #9BA14C #4CA17D
split-complementary
#524CA1 #A17D4C #71A14C
monochromatic
#28254E #3D3877 #524CA1 #746FBB #9D99CF

Accessibility & contrast

On white

7.22
#524CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524CA1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CA1#FFFFFF#000000##FFFFFF
##524CA11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#1C549F
Tritanopia (blue-blind)
#365F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #524ca1;
/* rgb */ color: rgb(82, 76, 161);
/* oklch */ color: oklch(46.7% 0.133 283.1);
Tailwind
colors: {
  custom: {
    50: '#887ebd',
    500: '#524ca1',
    950: '#000000',
  },
}
SCSS
$custom: #524ca1;
$custom-light: #887ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#524ca1",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 244.235,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.13312,
    "h": 283.1
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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