#524CE5#524CE5

#524CE5 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.223 H 277.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#524CE5
RGBrgb(82, 76, 229)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(64.2%, 66.8%, 0%, 10.2%)
CIE-LABlab(42.18, 47.61, -76.69)
CIE-LCHlch(42.18, 90.27, 301.83°)
OKLaboklab(52.15% 0.0275 -0.2213)
OKLCHoklch(52.15% 0.223 277.1)
XYZxyz(20.2024, 12.6182, 75.4845)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CE5 #DFE54C
analogous
#4C93E5 #524CE5 #9F4CE5
triadic
#524CE5 #E5524C #4CE552
tetradic
#524CE5 #E54C93 #DFE54C #4CE59F
square
#524CE5 #E54C93 #DFE54C #4CE59F
split-complementary
#524CE5 #E59F4C #93E54C
monochromatic
#1D179F #261FD5 #524CE5 #8681ED #B9B7F5

Accessibility & contrast

On white

5.96
#524CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#524CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CE5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CE5#FFFFFF#000000##FFFFFF
##524CE51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524ce5;
/* rgb */ color: rgb(82, 76, 229);
/* oklch */ color: oklch(52.2% 0.223 277.1);
Tailwind
colors: {
  custom: {
    50: '#937fee',
    500: '#524ce5',
    950: '#000000',
  },
}
SCSS
$custom: #524ce5;
$custom-light: #937fee;
$custom-dark: #000000;
JSON
{
  "hex": "#524ce5",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 242.353,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.22299,
    "h": 277.1
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#524CE5
secondary
#E2E4A9
accent
#F137EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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