#524BC6#524BC6

#524BC6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.185 H 279.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#524BC6
RGBrgb(82, 75, 198)
HSLhsl(243, 52%, 54%)
HSVhsv(243, 62%, 78%)
CMYKcmyk(58.6%, 62.1%, 0%, 22.4%)
CIE-LABlab(39.42, 38.28, -63.42)
CIE-LCHlch(39.42, 74.07, 301.12°)
OKLaboklab(49.35% 0.0312 -0.1823)
OKLCHoklch(49.35% 0.185 279.7)
XYZxyz(16.1856, 10.9021, 54.6665)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BC6 #BFC64B
analogous
#4B81C6 #524BC6 #8F4BC6
triadic
#524BC6 #C6524B #4BC652
tetradic
#524BC6 #C64B81 #BFC64B #4BC68F
square
#524BC6 #C64B81 #BFC64B #4BC68F
split-complementary
#524BC6 #C68F4B #81C64B
monochromatic
#292472 #3933A1 #524BC6 #7F79D5 #ABA8E3

Accessibility & contrast

On white

6.60
#524BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#524BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BC6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BC6#FFFFFF#000000##FFFFFF
##524BC61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524bc6;
/* rgb */ color: rgb(82, 75, 198);
/* oklch */ color: oklch(49.4% 0.185 279.7);
Tailwind
colors: {
  custom: {
    50: '#8e7ed8',
    500: '#524bc6',
    950: '#000000',
  },
}
SCSS
$custom: #524bc6;
$custom-light: #8e7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#524bc6",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 243.415,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.185,
    "h": 279.7
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#524BC6
secondary
#CED19C
accent
#DB4CD3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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