#524BDC#524BDC

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

Color values

HEX#524BDC
RGBrgb(82, 75, 220)
HSLhsl(243, 67%, 58%)
HSVhsv(243, 66%, 86%)
CMYKcmyk(62.7%, 65.9%, 0%, 13.7%)
CIE-LABlab(41.20, 45.33, -73.17)
CIE-LCHlch(41.20, 86.07, 301.77°)
OKLaboklab(51.21% 0.0293 -0.211)
OKLCHoklch(51.21% 0.213 277.9)
XYZxyz(18.9099, 11.9918, 69.0144)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BDC #D5DC4B
analogous
#4B8CDC #524BDC #9B4BDC
triadic
#524BDC #DC524B #4BDC52
tetradic
#524BDC #DC4B8C #D5DC4B #4BDC9B
square
#524BDC #DC4B8C #D5DC4B #4BDC9B
split-complementary
#524BDC #DC9B4B #8CDC4B
monochromatic
#221C91 #2E26C4 #524BDC #837EE6 #B4B1F0

Accessibility & contrast

On white

6.18
#524BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524BDC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BDC#FFFFFF#000000##FFFFFF
##524BDC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524bdc;
/* rgb */ color: rgb(82, 75, 220);
/* oklch */ color: oklch(51.2% 0.213 277.9);
Tailwind
colors: {
  custom: {
    50: '#927ee8',
    500: '#524bdc',
    950: '#000000',
  },
}
SCSS
$custom: #524bdc;
$custom-light: #927ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#524bdc",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 242.897,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.213,
    "h": 277.9
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#524BDC
secondary
#DCDEA4
accent
#EA3DE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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