#524BCC#524BCC

#524BCC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.193 H 279.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#524BCC
RGBrgb(82, 75, 204)
HSLhsl(243, 56%, 55%)
HSVhsv(243, 63%, 80%)
CMYKcmyk(59.8%, 63.2%, 0%, 20%)
CIE-LABlab(39.89, 40.21, -66.12)
CIE-LCHlch(39.89, 77.39, 301.30°)
OKLaboklab(49.85% 0.0308 -0.1903)
OKLCHoklch(49.85% 0.193 279.2)
XYZxyz(16.8914, 11.1844, 58.3837)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BCC #C5CC4B
analogous
#4B84CC #524BCC #934BCC
triadic
#524BCC #CC524B #4BCC52
tetradic
#524BCC #CC4B84 #C5CC4B #4BCC93
square
#524BCC #CC4B84 #C5CC4B #4BCC93
split-complementary
#524BCC #CC934B #84CC4B
monochromatic
#27237A #3730AA #524BCC #807BDA #AEAAE7

Accessibility & contrast

On white

6.49
#524BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#524BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BCC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BCC#FFFFFF#000000##FFFFFF
##524BCC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524bcc;
/* rgb */ color: rgb(82, 75, 204);
/* oklch */ color: oklch(49.8% 0.193 279.2);
Tailwind
colors: {
  custom: {
    50: '#8f7edd',
    500: '#524bcc',
    950: '#000000',
  },
}
SCSS
$custom: #524bcc;
$custom-light: #8f7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#524bcc",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 243.256,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49849,
    "c": 0.19277,
    "h": 279.2
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#524BCC
secondary
#D2D59E
accent
#DF49D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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