#524FCC#524FCC

#524FCC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.188 H 278.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#524FCC
RGBrgb(82, 79, 204)
HSLhsl(241, 55%, 55%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(59.8%, 61.3%, 0%, 20%)
CIE-LABlab(40.81, 37.80, -64.63)
CIE-LCHlch(40.81, 74.87, 300.32°)
OKLaboklab(50.52% 0.0273 -0.1859)
OKLCHoklch(50.52% 0.188 278.3)
XYZxyz(17.1713, 11.7442, 58.4770)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FCC #C9CC4F
analogous
#4F8ACC #524FCC #904FCC
triadic
#524FCC #CC524F #4FCC52
tetradic
#524FCC #CC4F8A #C9CC4F #4FCC90
square
#524FCC #CC4F8A #C9CC4F #4FCC90
split-complementary
#524FCC #CC904F #8ACC4F
monochromatic
#26247D #3532AC #524FCC #817EDA #AFAEE7

Accessibility & contrast

On white

6.27
#524FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#524FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FCC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FCC#FFFFFF#000000##FFFFFF
##524FCC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524fcc;
/* rgb */ color: rgb(82, 79, 204);
/* oklch */ color: oklch(50.5% 0.188 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f81dc',
    500: '#524fcc',
    950: '#000000',
  },
}
SCSS
$custom: #524fcc;
$custom-light: #8f81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#524fcc",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 241.44,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.18787,
    "h": 278.3
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#524FCC
secondary
#D4D5A1
accent
#DE49DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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