#524BCD#524BCD

#524BCD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.194 H 279.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#524BCD
RGBrgb(82, 75, 205)
HSLhsl(243, 57%, 55%)
HSVhsv(243, 63%, 80%)
CMYKcmyk(60%, 63.4%, 0%, 19.6%)
CIE-LABlab(39.97, 40.53, -66.57)
CIE-LCHlch(39.97, 77.94, 301.33°)
OKLaboklab(49.93% 0.0307 -0.1916)
OKLCHoklch(49.93% 0.194 279.1)
XYZxyz(17.0117, 11.2325, 59.0174)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BCD #C6CD4B
analogous
#4B85CD #524BCD #934BCD
triadic
#524BCD #CD524B #4BCD52
tetradic
#524BCD #CD4B85 #C6CD4B #4BCD93
square
#524BCD #CD4B85 #C6CD4B #4BCD93
split-complementary
#524BCD #CD934B #85CD4B
monochromatic
#27227B #3630AB #524BCD #807BDA #AEABE8

Accessibility & contrast

On white

6.47
#524BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#524BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BCD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BCD#FFFFFF#000000##FFFFFF
##524BCD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524bcd;
/* rgb */ color: rgb(82, 75, 205);
/* oklch */ color: oklch(49.9% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#8f7edd',
    500: '#524bcd',
    950: '#000000',
  },
}
SCSS
$custom: #524bcd;
$custom-light: #8f7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#524bcd",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 243.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.19405,
    "h": 279.1
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#524BCD
secondary
#D2D59F
accent
#E048D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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