#524992#524992

#524992 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.1% C 0.116 H 286.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#524992
RGBrgb(82, 73, 146)
HSLhsl(247, 33%, 43%)
HSVhsv(247, 50%, 57%)
CMYKcmyk(43.8%, 50%, 0%, 42.7%)
CIE-LABlab(35.27, 23.03, -39.20)
CIE-LCHlch(35.27, 45.47, 300.44°)
OKLaboklab(45.12% 0.0328 -0.1112)
OKLCHoklch(45.12% 0.116 286.4)
XYZxyz(11.0490, 8.6338, 28.2729)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524992 #899249
analogous
#496492 #524992 #764992
triadic
#524992 #925249 #499252
tetradic
#524992 #924964 #899249 #499276
square
#524992 #924964 #899249 #499276
split-complementary
#524992 #927649 #649249
monochromatic
#242040 #3B3569 #524992 #6F66B2 #968FC7

Accessibility & contrast

On white

7.70
#524992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#524992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524992
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524992#FFFFFF#000000##FFFFFF
##5249921.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#3F5866
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #524992;
/* rgb */ color: rgb(82, 73, 146);
/* oklch */ color: oklch(45.1% 0.116 286.4);
Tailwind
colors: {
  custom: {
    50: '#867cb2',
    500: '#524992',
    950: '#000000',
  },
}
SCSS
$custom: #524992;
$custom-light: #867cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#524992",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 146
  },
  "hsl": {
    "h": 247.397,
    "s": 33.333,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45121,
    "c": 0.11589,
    "h": 286.4
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#524992
secondary
#ADB384
accent
#C95EBC
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #524992

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

Preview Lab → · Contrast checker → · Palette generator →

#524992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva