#524DC7#524DC7

#524DC7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.184 H 279.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#524DC7
RGBrgb(82, 77, 199)
HSLhsl(242, 52%, 54%)
HSVhsv(242, 61%, 78%)
CMYKcmyk(58.8%, 61.3%, 0%, 22%)
CIE-LABlab(39.95, 37.39, -63.12)
CIE-LCHlch(39.95, 73.36, 300.65°)
OKLaboklab(49.77% 0.0293 -0.1814)
OKLCHoklch(49.77% 0.184 279.2)
XYZxyz(16.4391, 11.2239, 55.3219)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DC7 #C2C74D
analogous
#4D85C7 #524DC7 #8F4DC7
triadic
#524DC7 #C7524D #4DC752
tetradic
#524DC7 #C74D85 #C2C74D #4DC78F
square
#524DC7 #C74D85 #C2C74D #4DC78F
split-complementary
#524DC7 #C78F4D #85C74D
monochromatic
#282575 #3833A3 #524DC7 #7F7CD6 #ACAAE4

Accessibility & contrast

On white

6.47
#524DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#524DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DC7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DC7#FFFFFF#000000##FFFFFF
##524DC71.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524dc7;
/* rgb */ color: rgb(82, 77, 199);
/* oklch */ color: oklch(49.8% 0.184 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e7fd9',
    500: '#524dc7',
    950: '#000000',
  },
}
SCSS
$custom: #524dc7;
$custom-light: #8e7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#524dc7",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 242.459,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.18381,
    "h": 279.2
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#524DC7
secondary
#D0D29E
accent
#DC4CD6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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