#524DD7#524DD7

#524DD7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.204 H 277.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#524DD7
RGBrgb(82, 77, 215)
HSLhsl(242, 63%, 57%)
HSVhsv(242, 64%, 84%)
CMYKcmyk(61.9%, 64.2%, 0%, 15.7%)
CIE-LABlab(41.23, 42.55, -70.27)
CIE-LCHlch(41.23, 82.15, 301.20°)
OKLaboklab(51.1% 0.0282 -0.2025)
OKLCHoklch(51.1% 0.204 277.9)
XYZxyz(18.3953, 12.0065, 65.6249)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DD7 #D2D74D
analogous
#4D8DD7 #524DD7 #974DD7
triadic
#524DD7 #D7524D #4DD752
tetradic
#524DD7 #D74D8D #D2D74D #4DD797
square
#524DD7 #D74D8D #D2D74D #4DD797
split-complementary
#524DD7 #D7974D #8DD74D
monochromatic
#231F8A #302ABC #524DD7 #837FE2 #B3B1ED

Accessibility & contrast

On white

6.17
#524DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#524DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DD7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DD7#FFFFFF#000000##FFFFFF
##524DD71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524dd7;
/* rgb */ color: rgb(82, 77, 215);
/* oklch */ color: oklch(51.1% 0.204 277.9);
Tailwind
colors: {
  custom: {
    50: '#917fe4',
    500: '#524dd7',
    950: '#000000',
  },
}
SCSS
$custom: #524dd7;
$custom-light: #917fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#524dd7",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 242.174,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.511,
    "c": 0.20442,
    "h": 277.9
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#524DD7
secondary
#DADCA4
accent
#E641E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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