#524CBC#524CBC

#524CBC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.171 H 280.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#524CBC
RGBrgb(82, 76, 188)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(56.4%, 59.6%, 0%, 26.3%)
CIE-LABlab(38.89, 34.45, -58.44)
CIE-LCHlch(38.89, 67.84, 300.52°)
OKLaboklab(48.73% 0.0307 -0.1677)
OKLCHoklch(48.73% 0.171 280.4)
XYZxyz(15.1384, 10.5926, 48.8141)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CBC #B6BC4C
analogous
#4C7EBC #524CBC #8A4CBC
triadic
#524CBC #BC524C #4CBC52
tetradic
#524CBC #BC4C7E #B6BC4C #4CBC8A
square
#524CBC #BC4C7E #B6BC4C #4CBC8A
split-complementary
#524CBC #BC8A4C #7EBC4C
monochromatic
#2A2767 #3C3794 #524CBC #7D79CD #A8A5DD

Accessibility & contrast

On white

6.73
#524CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#524CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CBC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CBC#FFFFFF#000000##FFFFFF
##524CBC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#1A677C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524cbc;
/* rgb */ color: rgb(82, 76, 188);
/* oklch */ color: oklch(48.7% 0.171 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c7ed1',
    500: '#524cbc',
    950: '#000000',
  },
}
SCSS
$custom: #524cbc;
$custom-light: #8c7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#524cbc",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 243.214,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.1705,
    "h": 280.4
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#524CBC
secondary
#C8CA99
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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