#524AC8#524AC8

#524AC8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.189 H 279.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#524AC8
RGBrgb(82, 74, 200)
HSLhsl(244, 53%, 54%)
HSVhsv(244, 63%, 78%)
CMYKcmyk(59%, 63%, 0%, 21.6%)
CIE-LABlab(39.34, 39.53, -64.69)
CIE-LCHlch(39.34, 75.81, 301.42°)
OKLaboklab(49.35% 0.032 -0.1861)
OKLCHoklch(49.35% 0.189 279.8)
XYZxyz(16.3505, 10.8604, 55.8670)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AC8 #C0C84A
analogous
#4A81C8 #524AC8 #914AC8
triadic
#524AC8 #C8524A #4AC852
tetradic
#524AC8 #C84A81 #C0C84A #4AC891
square
#524AC8 #C84A81 #C0C84A #4AC891
split-complementary
#524AC8 #C8914A #81C84A
monochromatic
#282374 #3932A3 #524AC8 #7F79D6 #ACA8E5

Accessibility & contrast

On white

6.62
#524AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#524AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524AC8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AC8#FFFFFF#000000##FFFFFF
##524AC81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524ac8;
/* rgb */ color: rgb(82, 74, 200);
/* oklch */ color: oklch(49.4% 0.189 279.8);
Tailwind
colors: {
  custom: {
    50: '#8e7dda',
    500: '#524ac8',
    950: '#000000',
  },
}
SCSS
$custom: #524ac8;
$custom-light: #8e7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#524ac8",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 243.81,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.18882,
    "h": 279.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#524AC8
secondary
#CED29C
accent
#DD4BD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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