#524BD7#524BD7

#524BD7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.207 H 278.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#524BD7
RGBrgb(82, 75, 215)
HSLhsl(243, 64%, 57%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(61.9%, 65.1%, 0%, 15.7%)
CIE-LABlab(40.79, 43.73, -71.00)
CIE-LCHlch(40.79, 83.38, 301.63°)
OKLaboklab(50.78% 0.0298 -0.2046)
OKLCHoklch(50.78% 0.207 278.3)
XYZxyz(18.2576, 11.7309, 65.5790)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BD7 #D0D74B
analogous
#4B8AD7 #524BD7 #984BD7
triadic
#524BD7 #D7524B #4BD752
tetradic
#524BD7 #D74B8A #D0D74B #4BD798
square
#524BD7 #D74B8A #D0D74B #4BD798
split-complementary
#524BD7 #D7984B #8AD74B
monochromatic
#241E89 #312ABB #524BD7 #827DE2 #B2AFED

Accessibility & contrast

On white

6.28
#524BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#524BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BD7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BD7#FFFFFF#000000##FFFFFF
##524BD71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524bd7;
/* rgb */ color: rgb(82, 75, 215);
/* oklch */ color: oklch(50.8% 0.207 278.3);
Tailwind
colors: {
  custom: {
    50: '#917ee4',
    500: '#524bd7',
    950: '#000000',
  },
}
SCSS
$custom: #524bd7;
$custom-light: #917ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#524bd7",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 243,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.20675,
    "h": 278.3
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#524BD7
secondary
#D9DBA2
accent
#E741DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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