#524CA5#524CA5

#524CA5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.139 H 282.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#524CA5
RGBrgb(82, 76, 165)
HSLhsl(244, 37%, 47%)
HSVhsv(244, 54%, 65%)
CMYKcmyk(50.3%, 53.9%, 0%, 35.3%)
CIE-LABlab(37.26, 27.08, -47.46)
CIE-LCHlch(37.26, 54.64, 299.71°)
OKLaboklab(47% 0.0305 -0.1354)
OKLCHoklch(47% 0.139 282.7)
XYZxyz(12.8536, 9.6787, 36.7809)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CA5 #9FA54C
analogous
#4C73A5 #524CA5 #7F4CA5
triadic
#524CA5 #A5524C #4CA552
tetradic
#524CA5 #A54C73 #9FA54C #4CA57F
square
#524CA5 #A54C73 #9FA54C #4CA57F
split-complementary
#524CA5 #A57F4C #73A54C
monochromatic
#282551 #3D397B #524CA5 #7671BD #9E9BD1

Accessibility & contrast

On white

7.15
#524CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#524CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524CA5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CA5#FFFFFF#000000##FFFFFF
##524CA51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#1555A3
Tritanopia (blue-blind)
#336071
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #524ca5;
/* rgb */ color: rgb(82, 76, 165);
/* oklch */ color: oklch(47.0% 0.139 282.7);
Tailwind
colors: {
  custom: {
    50: '#897ec0',
    500: '#524ca5',
    950: '#000000',
  },
}
SCSS
$custom: #524ca5;
$custom-light: #897ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#524ca5",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 244.045,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.13881,
    "h": 282.7
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#524CA5
secondary
#BABD8F
accent
#CD5BC5
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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