#524EBD#524EBD

#524EBD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.169 H 279.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#524EBD
RGBrgb(82, 78, 189)
HSLhsl(242, 46%, 52%)
HSVhsv(242, 59%, 74%)
CMYKcmyk(56.6%, 58.7%, 0%, 25.9%)
CIE-LABlab(39.44, 33.55, -58.13)
CIE-LCHlch(39.44, 67.11, 299.99°)
OKLaboklab(49.16% 0.0287 -0.1668)
OKLCHoklch(49.16% 0.169 279.8)
XYZxyz(15.3865, 10.9157, 49.4304)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EBD #B9BD4E
analogous
#4E82BD #524EBD #894EBD
triadic
#524EBD #BD524E #4EBD52
tetradic
#524EBD #BD4E82 #B9BD4E #4EBD89
square
#524EBD #BD4E82 #B9BD4E #4EBD89
split-complementary
#524EBD #BD894E #82BD4E
monochromatic
#2A2769 #3B3896 #524EBD #7E7BCE #A9A7DE

Accessibility & contrast

On white

6.60
#524EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#524EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EBD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EBD#FFFFFF#000000##FFFFFF
##524EBD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#18687E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524ebd;
/* rgb */ color: rgb(82, 78, 189);
/* oklch */ color: oklch(49.2% 0.169 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c80d2',
    500: '#524ebd',
    950: '#000000',
  },
}
SCSS
$custom: #524ebd;
$custom-light: #8c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#524ebd",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 242.162,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.16923,
    "h": 279.8
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#524EBD
secondary
#CACC9B
accent
#D552D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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