#524BB7#524BB7

#524BB7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.165 H 281.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#524BB7
RGBrgb(82, 75, 183)
HSLhsl(244, 43%, 51%)
HSVhsv(244, 59%, 72%)
CMYKcmyk(55.2%, 59%, 0%, 28.2%)
CIE-LABlab(38.28, 33.46, -56.49)
CIE-LCHlch(38.28, 65.66, 300.64°)
OKLaboklab(48.16% 0.0319 -0.162)
OKLCHoklch(48.16% 0.165 281.1)
XYZxyz(14.5403, 10.2440, 46.0017)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB7 #B0B74B
analogous
#4B7AB7 #524BB7 #884BB7
triadic
#524BB7 #B7524B #4BB752
tetradic
#524BB7 #B74B7A #B0B74B #4BB788
square
#524BB7 #B74B7A #B0B74B #4BB788
split-complementary
#524BB7 #B7884B #7AB74B
monochromatic
#2B2761 #3E388D #524BB7 #7C77C8 #A6A2DA

Accessibility & contrast

On white

6.89
#524BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#524BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BB7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB7#FFFFFF#000000##FFFFFF
##524BB71.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#22647A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524bb7;
/* rgb */ color: rgb(82, 75, 183);
/* oklch */ color: oklch(48.2% 0.165 281.1);
Tailwind
colors: {
  custom: {
    50: '#8b7dcd',
    500: '#524bb7',
    950: '#000000',
  },
}
SCSS
$custom: #524bb7;
$custom-light: #8b7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb7",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 243.889,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.16509,
    "h": 281.1
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#524BB7
secondary
#C4C797
accent
#D355CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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