#524BC1#524BC1

#524BC1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.178 H 280.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#524BC1
RGBrgb(82, 75, 193)
HSLhsl(244, 49%, 53%)
HSVhsv(244, 61%, 76%)
CMYKcmyk(57.5%, 61.1%, 0%, 24.3%)
CIE-LABlab(39.03, 36.68, -61.13)
CIE-LCHlch(39.03, 71.29, 300.96°)
OKLaboklab(48.95% 0.0315 -0.1756)
OKLCHoklch(48.95% 0.178 280.2)
XYZxyz(15.6184, 10.6752, 51.6792)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BC1 #BAC14B
analogous
#4B7FC1 #524BC1 #8D4BC1
triadic
#524BC1 #C1524B #4BC152
tetradic
#524BC1 #C14B7F #BAC14B #4BC18D
square
#524BC1 #C14B7F #BAC14B #4BC18D
split-complementary
#524BC1 #C18D4B #7FC14B
monochromatic
#2A256C #3B359A #524BC1 #7E79D1 #AAA6E0

Accessibility & contrast

On white

6.70
#524BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#524BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BC1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BC1#FFFFFF#000000##FFFFFF
##524BC11.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#10687F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524bc1;
/* rgb */ color: rgb(82, 75, 193);
/* oklch */ color: oklch(48.9% 0.178 280.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ed5',
    500: '#524bc1',
    950: '#000000',
  },
}
SCSS
$custom: #524bc1;
$custom-light: #8d7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#524bc1",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 243.559,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.17844,
    "h": 280.2
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#524BC1
secondary
#CACE9A
accent
#D84FD0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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