#524CBD#524CBD

#524CBD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.172 H 280.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#524CBD
RGBrgb(82, 76, 189)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(56.6%, 59.8%, 0%, 25.9%)
CIE-LABlab(38.96, 34.78, -58.90)
CIE-LCHlch(38.96, 68.40, 300.56°)
OKLaboklab(48.8% 0.0307 -0.1691)
OKLCHoklch(48.8% 0.172 280.3)
XYZxyz(15.2465, 10.6358, 49.3838)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CBD #B7BD4C
analogous
#4C7FBD #524CBD #8B4CBD
triadic
#524CBD #BD524C #4CBD52
tetradic
#524CBD #BD4C7F #B7BD4C #4CBD8B
square
#524CBD #BD4C7F #B7BD4C #4CBD8B
split-complementary
#524CBD #BD8B4C #7FBD4C
monochromatic
#2A2668 #3C3795 #524CBD #7D79CD #A8A5DE

Accessibility & contrast

On white

6.71
#524CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#524CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CBD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CBD#FFFFFF#000000##FFFFFF
##524CBD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#18677D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524cbd;
/* rgb */ color: rgb(82, 76, 189);
/* oklch */ color: oklch(48.8% 0.172 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c7ed2',
    500: '#524cbd',
    950: '#000000',
  },
}
SCSS
$custom: #524cbd;
$custom-light: #8c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#524cbd",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 243.186,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.17184,
    "h": 280.3
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#524CBD
secondary
#C9CB9A
accent
#D652CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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