#524DC5#524DC5

#524DC5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.181 H 279.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#524DC5
RGBrgb(82, 77, 197)
HSLhsl(243, 51%, 54%)
HSVhsv(243, 61%, 77%)
CMYKcmyk(58.4%, 60.9%, 0%, 22.7%)
CIE-LABlab(39.80, 36.75, -62.20)
CIE-LCHlch(39.80, 72.25, 300.57°)
OKLaboklab(49.61% 0.0294 -0.1788)
OKLCHoklch(49.61% 0.181 279.4)
XYZxyz(16.2084, 11.1317, 54.1070)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DC5 #C0C54D
analogous
#4D84C5 #524DC5 #8E4DC5
triadic
#524DC5 #C5524D #4DC552
tetradic
#524DC5 #C54D84 #C0C54D #4DC58E
square
#524DC5 #C54D84 #C0C54D #4DC58E
split-complementary
#524DC5 #C58E4D #84C54D
monochromatic
#282572 #3934A0 #524DC5 #7F7BD4 #ACA9E3

Accessibility & contrast

On white

6.51
#524DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#524DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DC5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DC5#FFFFFF#000000##FFFFFF
##524DC51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#016A82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524dc5;
/* rgb */ color: rgb(82, 77, 197);
/* oklch */ color: oklch(49.6% 0.181 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d7fd7',
    500: '#524dc5',
    950: '#000000',
  },
}
SCSS
$custom: #524dc5;
$custom-light: #8d7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#524dc5",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 242.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.18118,
    "h": 279.4
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#524DC5
secondary
#CED19D
accent
#DA4DD4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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