#524CC2#524CC2

#524CC2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.178 H 279.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#524CC2
RGBrgb(82, 76, 194)
HSLhsl(243, 49%, 53%)
HSVhsv(243, 61%, 76%)
CMYKcmyk(57.7%, 60.8%, 0%, 23.9%)
CIE-LABlab(39.34, 36.39, -61.21)
CIE-LCHlch(39.34, 71.21, 300.73°)
OKLaboklab(49.2% 0.0305 -0.1759)
OKLCHoklch(49.2% 0.178 279.8)
XYZxyz(15.7987, 10.8567, 52.2915)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CC2 #BCC24C
analogous
#4C81C2 #524CC2 #8D4CC2
triadic
#524CC2 #C2524C #4CC252
tetradic
#524CC2 #C24C81 #BCC24C #4CC28D
square
#524CC2 #C24C81 #BCC24C #4CC28D
split-complementary
#524CC2 #C28D4C #81C24C
monochromatic
#29266E #3A359C #524CC2 #7E7AD2 #AAA7E1

Accessibility & contrast

On white

6.62
#524CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#524CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CC2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CC2#FFFFFF#000000##FFFFFF
##524CC21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#0D6980
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524cc2;
/* rgb */ color: rgb(82, 76, 194);
/* oklch */ color: oklch(49.2% 0.178 279.8);
Tailwind
colors: {
  custom: {
    50: '#8d7ed5',
    500: '#524cc2',
    950: '#000000',
  },
}
SCSS
$custom: #524cc2;
$custom-light: #8d7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#524cc2",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 243.051,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.17849,
    "h": 279.8
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#524CC2
secondary
#CCCE9B
accent
#D94FD2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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