#524DCD#524DCD

#524DCD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.192 H 278.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#524DCD
RGBrgb(82, 77, 205)
HSLhsl(242, 56%, 55%)
HSVhsv(242, 62%, 80%)
CMYKcmyk(60%, 62.4%, 0%, 19.6%)
CIE-LABlab(40.42, 39.33, -65.83)
CIE-LCHlch(40.42, 76.68, 300.86°)
OKLaboklab(50.26% 0.029 -0.1894)
OKLCHoklch(50.26% 0.192 278.7)
XYZxyz(17.1495, 11.5081, 59.0633)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DCD #C8CD4D
analogous
#4D88CD #524DCD #924DCD
triadic
#524DCD #CD524D #4DCD52
tetradic
#524DCD #CD4D88 #C8CD4D #4DCD92
square
#524DCD #CD4D88 #C8CD4D #4DCD92
split-complementary
#524DCD #CD924D #88CD4D
monochromatic
#27237D #3530AC #524DCD #807DDA #AFADE8

Accessibility & contrast

On white

6.36
#524DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#524DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DCD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DCD#FFFFFF#000000##FFFFFF
##524DCD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524dcd;
/* rgb */ color: rgb(82, 77, 205);
/* oklch */ color: oklch(50.3% 0.192 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f7fdd',
    500: '#524dcd',
    950: '#000000',
  },
}
SCSS
$custom: #524dcd;
$custom-light: #8f7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#524dcd",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 242.344,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50264,
    "c": 0.19163,
    "h": 278.7
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#524DCD
secondary
#D4D6A0
accent
#DF48DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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