#524697#524697

#524697 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.128 H 286.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#524697
RGBrgb(82, 70, 151)
HSLhsl(249, 37%, 43%)
HSVhsv(249, 54%, 59%)
CMYKcmyk(45.7%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.82, 26.48, -42.96)
CIE-LCHlch(34.82, 50.46, 301.65°)
OKLaboklab(44.89% 0.0371 -0.1222)
OKLCHoklch(44.89% 0.128 286.9)
XYZxyz(11.2541, 8.4081, 30.3021)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524697 #8B9746
analogous
#466297 #524697 #7A4697
triadic
#524697 #975246 #469752
tetradic
#524697 #974662 #8B9746 #46977A
square
#524697 #974662 #8B9746 #46977A
split-complementary
#524697 #977A46 #629746
monochromatic
#251F43 #3B336D #524697 #7063B7 #968DCA

Accessibility & contrast

On white

7.83
#524697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524697
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524697#FFFFFF#000000##FFFFFF
##5246971.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#3C5767
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #524697;
/* rgb */ color: rgb(82, 70, 151);
/* oklch */ color: oklch(44.9% 0.128 286.9);
Tailwind
colors: {
  custom: {
    50: '#8779b6',
    500: '#524697',
    950: '#000000',
  },
}
SCSS
$custom: #524697;
$custom-light: #8779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#524697",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 248.889,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.1277,
    "h": 286.9
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#524697
secondary
#AEB683
accent
#CD5BBC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #524697

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

Preview Lab → · Contrast checker → · Palette generator →

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