#524FCD#524FCD

#524FCD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.189 H 278.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#524FCD
RGBrgb(82, 79, 205)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(60%, 61.5%, 0%, 19.6%)
CIE-LABlab(40.88, 38.12, -65.08)
CIE-LCHlch(40.88, 75.42, 300.36°)
OKLaboklab(50.6% 0.0272 -0.1872)
OKLCHoklch(50.6% 0.189 278.3)
XYZxyz(17.2916, 11.7923, 59.1107)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FCD #CACD4F
analogous
#4F8BCD #524FCD #914FCD
triadic
#524FCD #CD524F #4FCD52
tetradic
#524FCD #CD4F8B #CACD4F #4FCD91
square
#524FCD #CD4F8B #CACD4F #4FCD91
split-complementary
#524FCD #CD914F #8BCD4F
monochromatic
#26247E #3431AE #524FCD #817FDB #B0AEE8

Accessibility & contrast

On white

6.25
#524FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#524FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FCD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FCD#FFFFFF#000000##FFFFFF
##524FCD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524fcd;
/* rgb */ color: rgb(82, 79, 205);
/* oklch */ color: oklch(50.6% 0.189 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f81dd',
    500: '#524fcd',
    950: '#000000',
  },
}
SCSS
$custom: #524fcd;
$custom-light: #8f81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#524fcd",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 241.429,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.18917,
    "h": 278.3
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#524FCD
secondary
#D5D6A2
accent
#DF49DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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