#524EC9#524EC9

#524EC9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.185 H 278.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#524EC9
RGBrgb(82, 78, 201)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 61%, 79%)
CMYKcmyk(59.2%, 61.2%, 0%, 21.2%)
CIE-LABlab(40.34, 37.43, -63.65)
CIE-LCHlch(40.34, 73.84, 300.46°)
OKLaboklab(50.11% 0.0283 -0.183)
OKLCHoklch(50.11% 0.185 278.8)
XYZxyz(16.7433, 11.4585, 56.5764)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EC9 #C5C94E
analogous
#4E88C9 #524EC9 #8F4EC9
triadic
#524EC9 #C9524E #4EC952
tetradic
#524EC9 #C94E88 #C5C94E #4EC98F
square
#524EC9 #C94E88 #C5C94E #4EC98F
split-complementary
#524EC9 #C98F4E #88C94E
monochromatic
#272578 #3733A7 #524EC9 #807DD7 #AEACE6

Accessibility & contrast

On white

6.38
#524EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#524EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EC9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EC9#FFFFFF#000000##FFFFFF
##524EC91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ec9;
/* rgb */ color: rgb(82, 78, 201);
/* oklch */ color: oklch(50.1% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e80da',
    500: '#524ec9',
    950: '#000000',
  },
}
SCSS
$custom: #524ec9;
$custom-light: #8e80da;
$custom-dark: #000000;
JSON
{
  "hex": "#524ec9",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 241.951,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.18518,
    "h": 278.8
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#524EC9
secondary
#D2D39F
accent
#DD4BD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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