#524EA6#524EA6

#524EA6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.137 H 281.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#524EA6
RGBrgb(82, 78, 166)
HSLhsl(243, 36%, 48%)
HSVhsv(243, 53%, 65%)
CMYKcmyk(50.6%, 53%, 0%, 34.9%)
CIE-LABlab(37.83, 26.13, -47.14)
CIE-LCHlch(37.83, 53.90, 299.01°)
OKLaboklab(47.45% 0.0282 -0.1344)
OKLCHoklch(47.45% 0.137 281.9)
XYZxyz(13.0849, 9.9951, 37.3088)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EA6 #A2A64E
analogous
#4E76A6 #524EA6 #7E4EA6
triadic
#524EA6 #A6524E #4EA652
tetradic
#524EA6 #A64E76 #A2A64E #4EA67E
square
#524EA6 #A64E76 #A2A64E #4EA67E
split-complementary
#524EA6 #A67E4E #76A64E
monochromatic
#292753 #3D3A7C #524EA6 #7774BE #A09DD1

Accessibility & contrast

On white

7.00
#524EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#524EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EA6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EA6#FFFFFF#000000##FFFFFF
##524EA61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#1956A4
Tritanopia (blue-blind)
#326172
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524ea6;
/* rgb */ color: rgb(82, 78, 166);
/* oklch */ color: oklch(47.5% 0.137 281.9);
Tailwind
colors: {
  custom: {
    50: '#897fc1',
    500: '#524ea6',
    950: '#000000',
  },
}
SCSS
$custom: #524ea6;
$custom-light: #897fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#524ea6",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 242.727,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.13737,
    "h": 281.9
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#524EA6
secondary
#BCBE92
accent
#CC5CC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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