#524D8D#524D8D

#524D8D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.102 H 285.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#524D8D
RGBrgb(82, 77, 141)
HSLhsl(245, 29%, 43%)
HSVhsv(245, 45%, 55%)
CMYKcmyk(41.8%, 45.4%, 0%, 44.7%)
CIE-LABlab(36.03, 18.95, -34.94)
CIE-LCHlch(36.03, 39.75, 298.47°)
OKLaboklab(45.6% 0.0267 -0.0987)
OKLCHoklch(45.6% 0.102 285.1)
XYZxyz(10.9399, 9.0243, 26.3596)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524D8D #888D4D
analogous
#4D688D #524D8D #724D8D
triadic
#524D8D #8D524D #4D8D52
tetradic
#524D8D #8D4D68 #888D4D #4D8D72
square
#524D8D #8D4D68 #888D4D #4D8D72
split-complementary
#524D8D #8D724D #688D4D
monochromatic
#24223E #3B3765 #524D8D #6F6AAD #9591C3

Accessibility & contrast

On white

7.49
#524D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#524D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524D8D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524D8D#FFFFFF#000000##FFFFFF
##524D8D1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#415A66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #524d8d;
/* rgb */ color: rgb(82, 77, 141);
/* oklch */ color: oklch(45.6% 0.102 285.1);
Tailwind
colors: {
  custom: {
    50: '#867eaf',
    500: '#524d8d',
    950: '#000000',
  },
}
SCSS
$custom: #524d8d;
$custom-light: #867eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#524d8d",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 244.688,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.10222,
    "h": 285.1
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#524D8D
secondary
#ACAF86
accent
#C662BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #524D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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