#524DEA#524DEA

#524DEA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.228 H 276.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#524DEA
RGBrgb(82, 77, 234)
HSLhsl(242, 79%, 61%)
HSVhsv(242, 67%, 92%)
CMYKcmyk(65%, 67.1%, 0%, 8.2%)
CIE-LABlab(42.82, 48.62, -78.47)
CIE-LCHlch(42.82, 92.32, 301.78°)
OKLaboklab(52.75% 0.0262 -0.2265)
OKLCHoklch(52.75% 0.228 276.6)
XYZxyz(20.9800, 13.0403, 79.2374)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DEA #E5EA4D
analogous
#4D96EA #524DEA #A04DEA
triadic
#524DEA #EA524D #4DEA52
tetradic
#524DEA #EA4D96 #E5EA4D #4DEAA0
square
#524DEA #EA4D96 #E5EA4D #4DEAA0
split-complementary
#524DEA #EAA04D #96EA4D
monochromatic
#1914A9 #211ADF #524DEA #8784F0 #BCBAF7

Accessibility & contrast

On white

5.82
#524DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#524DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DEA#FFFFFF#000000##FFFFFF
##524DEA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524dea;
/* rgb */ color: rgb(82, 77, 234);
/* oklch */ color: oklch(52.7% 0.228 276.6);
Tailwind
colors: {
  custom: {
    50: '#9480f2',
    500: '#524dea',
    950: '#000000',
  },
}
SCSS
$custom: #524dea;
$custom-light: #9480f2;
$custom-dark: #000000;
JSON
{
  "hex": "#524dea",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 241.911,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.228,
    "h": 276.6
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#524DEA
secondary
#E5E7AC
accent
#DB0AD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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