#524FC4#524FC4

#524FC4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.177 H 279.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#524FC4
RGBrgb(82, 79, 196)
HSLhsl(242, 50%, 54%)
HSVhsv(242, 60%, 77%)
CMYKcmyk(58.2%, 59.7%, 0%, 23.1%)
CIE-LABlab(40.20, 35.20, -60.98)
CIE-LCHlch(40.20, 70.41, 300.00°)
OKLaboklab(49.88% 0.0276 -0.1752)
OKLCHoklch(49.88% 0.177 279)
XYZxyz(16.2363, 11.3702, 53.5529)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FC4 #C1C44F
analogous
#4F87C4 #524FC4 #8D4FC4
triadic
#524FC4 #C4524F #4FC452
tetradic
#524FC4 #C44F87 #C1C44F #4FC48D
square
#524FC4 #C44F87 #C1C44F #4FC48D
split-complementary
#524FC4 #C48D4F #87C44F
monochromatic
#282672 #3836A0 #524FC4 #7F7DD3 #ACABE3

Accessibility & contrast

On white

6.41
#524FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#524FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FC4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FC4#FFFFFF#000000##FFFFFF
##524FC41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#046B82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524fc4;
/* rgb */ color: rgb(82, 79, 196);
/* oklch */ color: oklch(49.9% 0.177 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d80d7',
    500: '#524fc4',
    950: '#000000',
  },
}
SCSS
$custom: #524fc4;
$custom-light: #8d80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#524fc4",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 241.538,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.17732,
    "h": 279
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#524FC4
secondary
#CFD09E
accent
#D94ED6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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