#524BD2#524BD2

#524BD2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.4% C 0.200 H 278.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#524BD2
RGBrgb(82, 75, 210)
HSLhsl(243, 60%, 56%)
HSVhsv(243, 64%, 82%)
CMYKcmyk(61%, 64.3%, 0%, 17.6%)
CIE-LABlab(40.37, 42.13, -68.79)
CIE-LCHlch(40.37, 80.67, 301.49°)
OKLaboklab(50.35% 0.0303 -0.1981)
OKLCHoklch(50.35% 0.2 278.7)
XYZxyz(17.6249, 11.4778, 62.2469)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BD2 #CBD24B
analogous
#4B87D2 #524BD2 #954BD2
triadic
#524BD2 #D2524B #4BD252
tetradic
#524BD2 #D24B87 #CBD24B #4BD295
square
#524BD2 #D24B87 #CBD24B #4BD295
split-complementary
#524BD2 #D2954B #87D24B
monochromatic
#262182 #342DB3 #524BD2 #817CDE #B0ADEA

Accessibility & contrast

On white

6.37
#524BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524BD2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BD2#FFFFFF#000000##FFFFFF
##524BD21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524bd2;
/* rgb */ color: rgb(82, 75, 210);
/* oklch */ color: oklch(50.4% 0.200 278.7);
Tailwind
colors: {
  custom: {
    50: '#907ee1',
    500: '#524bd2',
    950: '#000000',
  },
}
SCSS
$custom: #524bd2;
$custom-light: #907ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#524bd2",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 243.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.20043,
    "h": 278.7
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#524BD2
secondary
#D5D8A0
accent
#E345DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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