#524EC5#524EC5

#524EC5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.180 H 279.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#524EC5
RGBrgb(82, 78, 197)
HSLhsl(242, 51%, 54%)
HSVhsv(242, 60%, 77%)
CMYKcmyk(58.4%, 60.4%, 0%, 22.7%)
CIE-LABlab(40.04, 36.14, -61.82)
CIE-LCHlch(40.04, 71.61, 300.31°)
OKLaboklab(49.79% 0.0285 -0.1776)
OKLCHoklch(49.79% 0.18 279.1)
XYZxyz(16.2789, 11.2727, 54.1305)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EC5 #C1C54E
analogous
#4E86C5 #524EC5 #8E4EC5
triadic
#524EC5 #C5524E #4EC552
tetradic
#524EC5 #C54E86 #C1C54E #4EC58E
square
#524EC5 #C54E86 #C1C54E #4EC58E
split-complementary
#524EC5 #C58E4E #86C54E
monochromatic
#282673 #3835A1 #524EC5 #7F7CD4 #ACAAE3

Accessibility & contrast

On white

6.45
#524EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524EC5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EC5#FFFFFF#000000##FFFFFF
##524EC51.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#016B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524ec5;
/* rgb */ color: rgb(82, 78, 197);
/* oklch */ color: oklch(49.8% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d80d7',
    500: '#524ec5',
    950: '#000000',
  },
}
SCSS
$custom: #524ec5;
$custom-light: #8d80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#524ec5",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 242.017,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.17991,
    "h": 279.1
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#524EC5
secondary
#CFD19E
accent
#DA4ED5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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