#524CB2#524CB2

#524CB2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.157 H 281.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#524CB2
RGBrgb(82, 76, 178)
HSLhsl(244, 40%, 50%)
HSVhsv(244, 57%, 70%)
CMYKcmyk(53.9%, 57.3%, 0%, 30.2%)
CIE-LABlab(38.16, 31.24, -53.74)
CIE-LCHlch(38.16, 62.16, 300.17°)
OKLaboklab(47.96% 0.0309 -0.1539)
OKLCHoklch(47.96% 0.157 281.3)
XYZxyz(14.0975, 10.1762, 43.3322)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CB2 #ACB24C
analogous
#4C79B2 #524CB2 #854CB2
triadic
#524CB2 #B2524C #4CB252
tetradic
#524CB2 #B24C79 #ACB24C #4CB285
square
#524CB2 #B24C79 #ACB24C #4CB285
split-complementary
#524CB2 #B2854C #79B24C
monochromatic
#2A275C #3E3A87 #524CB2 #7B76C5 #A5A1D7

Accessibility & contrast

On white

6.92
#524CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#524CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CB2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CB2#FFFFFF#000000##FFFFFF
##524CB21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#286477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524cb2;
/* rgb */ color: rgb(82, 76, 178);
/* oklch */ color: oklch(48.0% 0.157 281.3);
Tailwind
colors: {
  custom: {
    50: '#8b7eca',
    500: '#524cb2',
    950: '#000000',
  },
}
SCSS
$custom: #524cb2;
$custom-light: #8b7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#524cb2",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 243.529,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.15693,
    "h": 281.3
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#524CB2
secondary
#C1C496
accent
#D058C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #524CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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