#524DE5#524DE5

#524DE5 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.222 H 276.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#524DE5
RGBrgb(82, 77, 229)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 66%, 90%)
CMYKcmyk(64.2%, 66.4%, 0%, 10.2%)
CIE-LABlab(42.39, 47.03, -76.35)
CIE-LCHlch(42.39, 89.67, 301.64°)
OKLaboklab(52.31% 0.0268 -0.2203)
OKLCHoklch(52.31% 0.222 276.9)
XYZxyz(20.2718, 12.7570, 75.5076)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DE5 #E0E54D
analogous
#4D94E5 #524DE5 #9E4DE5
triadic
#524DE5 #E5524D #4DE552
tetradic
#524DE5 #E54D94 #E0E54D #4DE59E
square
#524DE5 #E54D94 #E0E54D #4DE59E
split-complementary
#524DE5 #E59E4D #94E54D
monochromatic
#1C17A0 #251FD6 #524DE5 #8682ED #BAB8F5

Accessibility & contrast

On white

5.91
#524DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#524DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DE5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DE5#FFFFFF#000000##FFFFFF
##524DE51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524de5;
/* rgb */ color: rgb(82, 77, 229);
/* oklch */ color: oklch(52.3% 0.222 276.9);
Tailwind
colors: {
  custom: {
    50: '#9380ee',
    500: '#524de5',
    950: '#000000',
  },
}
SCSS
$custom: #524de5;
$custom-light: #9380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#524de5",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 241.974,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.22189,
    "h": 276.9
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#524DE5
secondary
#E2E4AA
accent
#F137EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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