#524EC8#524EC8

#524EC8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.184 H 278.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#524EC8
RGBrgb(82, 78, 200)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 61%, 78%)
CMYKcmyk(59%, 61%, 0%, 21.6%)
CIE-LABlab(40.27, 37.11, -63.19)
CIE-LCHlch(40.27, 73.28, 300.42°)
OKLaboklab(50.03% 0.0284 -0.1817)
OKLCHoklch(50.03% 0.184 278.9)
XYZxyz(16.6261, 11.4116, 55.9589)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EC8 #C4C84E
analogous
#4E87C8 #524EC8 #8F4EC8
triadic
#524EC8 #C8524E #4EC852
tetradic
#524EC8 #C84E87 #C4C84E #4EC88F
square
#524EC8 #C84E87 #C4C84E #4EC88F
split-complementary
#524EC8 #C88F4E #87C84E
monochromatic
#282577 #3733A5 #524EC8 #807DD7 #ADABE5

Accessibility & contrast

On white

6.40
#524EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#524EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EC8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EC8#FFFFFF#000000##FFFFFF
##524EC81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524ec8;
/* rgb */ color: rgb(82, 78, 200);
/* oklch */ color: oklch(50.0% 0.184 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e80da',
    500: '#524ec8',
    950: '#000000',
  },
}
SCSS
$custom: #524ec8;
$custom-light: #8e80da;
$custom-dark: #000000;
JSON
{
  "hex": "#524ec8",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 241.967,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.18387,
    "h": 278.9
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#524EC8
secondary
#D1D39F
accent
#DC4CD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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