#524BD4#524BD4

#524BD4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.203 H 278.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#524BD4
RGBrgb(82, 75, 212)
HSLhsl(243, 61%, 56%)
HSVhsv(243, 65%, 83%)
CMYKcmyk(61.3%, 64.6%, 0%, 16.9%)
CIE-LABlab(40.54, 42.77, -69.68)
CIE-LCHlch(40.54, 81.76, 301.54°)
OKLaboklab(50.52% 0.0301 -0.2007)
OKLCHoklch(50.52% 0.203 278.5)
XYZxyz(17.8756, 11.5781, 63.5674)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BD4 #CDD44B
analogous
#4B89D4 #524BD4 #974BD4
triadic
#524BD4 #D4524B #4BD452
tetradic
#524BD4 #D44B89 #CDD44B #4BD497
square
#524BD4 #D44B89 #CDD44B #4BD497
split-complementary
#524BD4 #D4974B #89D44B
monochromatic
#252085 #332CB6 #524BD4 #817CE0 #B1AEEC

Accessibility & contrast

On white

6.33
#524BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#524BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BD4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BD4#FFFFFF#000000##FFFFFF
##524BD41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524bd4;
/* rgb */ color: rgb(82, 75, 212);
/* oklch */ color: oklch(50.5% 0.203 278.5);
Tailwind
colors: {
  custom: {
    50: '#907ee2',
    500: '#524bd4',
    950: '#000000',
  },
}
SCSS
$custom: #524bd4;
$custom-light: #907ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#524bd4",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 243.066,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.20297,
    "h": 278.5
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#524BD4
secondary
#D7DAA1
accent
#E543DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #524BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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