#524792#524792

#524792 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.7% C 0.119 H 287.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#524792
RGBrgb(82, 71, 146)
HSLhsl(249, 35%, 43%)
HSVhsv(249, 51%, 57%)
CMYKcmyk(43.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(34.75, 24.31, -40.03)
CIE-LCHlch(34.75, 46.83, 301.27°)
OKLaboklab(44.73% 0.0354 -0.1136)
OKLCHoklch(44.73% 0.119 287.3)
XYZxyz(10.9197, 8.3752, 28.2298)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524792 #879247
analogous
#476292 #524792 #774792
triadic
#524792 #925247 #479252
tetradic
#524792 #924762 #879247 #479277
square
#524792 #924762 #879247 #479277
split-complementary
#524792 #927747 #629247
monochromatic
#241F40 #3B3369 #524792 #6F63B3 #958CC7

Accessibility & contrast

On white

7.85
#524792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#524792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524792
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524792#FFFFFF#000000##FFFFFF
##5247921.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#265090
Tritanopia (blue-blind)
#3F5765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #524792;
/* rgb */ color: rgb(82, 71, 146);
/* oklch */ color: oklch(44.7% 0.119 287.3);
Tailwind
colors: {
  custom: {
    50: '#867ab2',
    500: '#524792',
    950: '#000000',
  },
}
SCSS
$custom: #524792;
$custom-light: #867ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#524792",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 248.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.11898,
    "h": 287.3
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#524792
secondary
#ACB382
accent
#CB5DBB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #524792

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

Preview Lab → · Contrast checker → · Palette generator →

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