#524BB1#524BB1

#524BB1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.157 H 281.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#524BB1
RGBrgb(82, 75, 177)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 58%, 69%)
CMYKcmyk(53.7%, 57.6%, 0%, 30.6%)
CIE-LABlab(37.84, 31.54, -53.66)
CIE-LCHlch(37.84, 62.24, 300.44°)
OKLaboklab(47.7% 0.0319 -0.1536)
OKLCHoklch(47.7% 0.157 281.7)
XYZxyz(13.9291, 9.9995, 42.7826)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB1 #AAB14B
analogous
#4B77B1 #524BB1 #854BB1
triadic
#524BB1 #B1524B #4BB152
tetradic
#524BB1 #B14B77 #AAB14B #4BB185
square
#524BB1 #B14B77 #AAB14B #4BB185
split-complementary
#524BB1 #B1854B #77B14B
monochromatic
#2A275B #3E3986 #524BB1 #7A75C4 #A4A0D7

Accessibility & contrast

On white

7.00
#524BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#524BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BB1
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB1#FFFFFF#000000##FFFFFF
##524BB11.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#296376
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524bb1;
/* rgb */ color: rgb(82, 75, 177);
/* oklch */ color: oklch(47.7% 0.157 281.7);
Tailwind
colors: {
  custom: {
    50: '#8a7dc9',
    500: '#524bb1',
    950: '#000000',
  },
}
SCSS
$custom: #524bb1;
$custom-light: #8a7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb1",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 244.118,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.15692,
    "h": 281.7
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#524BB1
secondary
#C0C394
accent
#D057C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #524BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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