#524CA6#524CA6

#524CA6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.140 H 282.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#524CA6
RGBrgb(82, 76, 166)
HSLhsl(244, 37%, 47%)
HSVhsv(244, 54%, 65%)
CMYKcmyk(50.6%, 54.2%, 0%, 34.9%)
CIE-LABlab(37.33, 27.40, -47.95)
CIE-LCHlch(37.33, 55.23, 299.74°)
OKLaboklab(47.08% 0.0306 -0.1369)
OKLCHoklch(47.08% 0.14 282.6)
XYZxyz(12.9450, 9.7152, 37.2621)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CA6 #A0A64C
analogous
#4C73A6 #524CA6 #7F4CA6
triadic
#524CA6 #A6524C #4CA652
tetradic
#524CA6 #A64C73 #A0A64C #4CA67F
square
#524CA6 #A64C73 #A0A64C #4CA67F
split-complementary
#524CA6 #A67F4C #73A64C
monochromatic
#292652 #3D397C #524CA6 #7671BE #9F9BD1

Accessibility & contrast

On white

7.14
#524CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524CA6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CA6#FFFFFF#000000##FFFFFF
##524CA61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#1255A4
Tritanopia (blue-blind)
#326071
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #524ca6;
/* rgb */ color: rgb(82, 76, 166);
/* oklch */ color: oklch(47.1% 0.140 282.6);
Tailwind
colors: {
  custom: {
    50: '#897ec1',
    500: '#524ca6',
    950: '#000000',
  },
}
SCSS
$custom: #524ca6;
$custom-light: #897ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#524ca6",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 244,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.14023,
    "h": 282.6
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#524CA6
secondary
#BBBE90
accent
#CD5BC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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