#524ECD#524ECD

#524ECD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.190 H 278.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#524ECD
RGBrgb(82, 78, 205)
HSLhsl(242, 56%, 55%)
HSVhsv(242, 62%, 80%)
CMYKcmyk(60%, 62%, 0%, 19.6%)
CIE-LABlab(40.65, 38.73, -65.45)
CIE-LCHlch(40.65, 76.05, 300.61°)
OKLaboklab(50.43% 0.0281 -0.1883)
OKLCHoklch(50.43% 0.19 278.5)
XYZxyz(17.2200, 11.6491, 59.0868)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ECD #C9CD4E
analogous
#4E89CD #524ECD #924ECD
triadic
#524ECD #CD524E #4ECD52
tetradic
#524ECD #CD4E89 #C9CD4E #4ECD92
square
#524ECD #CD4E89 #C9CD4E #4ECD92
split-complementary
#524ECD #CD924E #89CD4E
monochromatic
#26237D #3531AD #524ECD #817EDA #AFADE8

Accessibility & contrast

On white

6.31
#524ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#524ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ECD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ECD#FFFFFF#000000##FFFFFF
##524ECD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524ecd;
/* rgb */ color: rgb(82, 78, 205);
/* oklch */ color: oklch(50.4% 0.190 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f80dd',
    500: '#524ecd',
    950: '#000000',
  },
}
SCSS
$custom: #524ecd;
$custom-light: #8f80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#524ecd",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 241.89,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.1904,
    "h": 278.5
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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