#524BC2#524BC2

#524BC2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.180 H 280.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#524BC2
RGBrgb(82, 75, 194)
HSLhsl(244, 49%, 53%)
HSVhsv(244, 61%, 76%)
CMYKcmyk(57.7%, 61.3%, 0%, 23.9%)
CIE-LABlab(39.10, 37.00, -61.59)
CIE-LCHlch(39.10, 71.85, 300.99°)
OKLaboklab(49.03% 0.0315 -0.177)
OKLCHoklch(49.03% 0.18 280.1)
XYZxyz(15.7303, 10.7200, 52.2687)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BC2 #BBC24B
analogous
#4B80C2 #524BC2 #8D4BC2
triadic
#524BC2 #C2524B #4BC252
tetradic
#524BC2 #C24B80 #BBC24B #4BC28D
square
#524BC2 #C24B80 #BBC24B #4BC28D
split-complementary
#524BC2 #C28D4B #80C24B
monochromatic
#29256D #3B359B #524BC2 #7E79D1 #AAA6E1

Accessibility & contrast

On white

6.68
#524BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#524BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BC2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BC2#FFFFFF#000000##FFFFFF
##524BC21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524bc2;
/* rgb */ color: rgb(82, 75, 194);
/* oklch */ color: oklch(49.0% 0.180 280.1);
Tailwind
colors: {
  custom: {
    50: '#8d7ed5',
    500: '#524bc2',
    950: '#000000',
  },
}
SCSS
$custom: #524bc2;
$custom-light: #8d7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#524bc2",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 243.529,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.17976,
    "h": 280.1
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#524BC2
secondary
#CBCE9B
accent
#D94FD1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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