#524596#524596

#524596 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.128 H 287.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#524596
RGBrgb(82, 69, 150)
HSLhsl(250, 37%, 43%)
HSVhsv(250, 54%, 59%)
CMYKcmyk(45.3%, 54%, 0%, 41.2%)
CIE-LABlab(34.50, 26.80, -42.86)
CIE-LCHlch(34.50, 50.55, 302.02°)
OKLaboklab(44.63% 0.0383 -0.1219)
OKLCHoklch(44.63% 0.128 287.4)
XYZxyz(11.1112, 8.2517, 29.8555)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524596 #899645
analogous
#456096 #524596 #7A4596
triadic
#524596 #965245 #459652
tetradic
#524596 #964560 #899645 #45967A
square
#524596 #964560 #899645 #45967A
split-complementary
#524596 #967A45 #609645
monochromatic
#241E42 #3B326C #524596 #6F62B7 #968CCA

Accessibility & contrast

On white

7.92
#524596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#524596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524596
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524596#FFFFFF#000000##FFFFFF
##5245961.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#3D5666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #524596;
/* rgb */ color: rgb(82, 69, 150);
/* oklch */ color: oklch(44.6% 0.128 287.4);
Tailwind
colors: {
  custom: {
    50: '#8779b5',
    500: '#524596',
    950: '#000000',
  },
}
SCSS
$custom: #524596;
$custom-light: #8779b5;
$custom-dark: #000000;
JSON
{
  "hex": "#524596",
  "rgb": {
    "r": 82,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 249.63,
    "s": 36.986,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.12779,
    "h": 287.4
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#524596
secondary
#ADB582
accent
#CD5BBB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #524596

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

Preview Lab → · Contrast checker → · Palette generator →

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