#524BD5#524BD5

#524BD5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.6% C 0.204 H 278.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#524BD5
RGBrgb(82, 75, 213)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 65%, 84%)
CMYKcmyk(61.5%, 64.8%, 0%, 16.5%)
CIE-LABlab(40.62, 43.09, -70.12)
CIE-LCHlch(40.62, 82.30, 301.57°)
OKLaboklab(50.61% 0.03 -0.202)
OKLCHoklch(50.61% 0.204 278.4)
XYZxyz(18.0021, 11.6287, 64.2338)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BD5 #CED54B
analogous
#4B89D5 #524BD5 #974BD5
triadic
#524BD5 #D5524B #4BD552
tetradic
#524BD5 #D54B89 #CED54B #4BD597
square
#524BD5 #D54B89 #CED54B #4BD597
split-complementary
#524BD5 #D5974B #89D54B
monochromatic
#251F86 #322BB8 #524BD5 #827DE1 #B1AEEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524BD5#FFFFFF#000000##FFFFFF
##524BD51.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)
#0065D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524bd5;
/* rgb */ color: rgb(82, 75, 213);
/* oklch */ color: oklch(50.6% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#907ee3',
    500: '#524bd5',
    950: '#000000',
  },
}
SCSS
$custom: #524bd5;
$custom-light: #907ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#524bd5",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 243.043,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.20424,
    "h": 278.4
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#524BD5
secondary
#D7DAA2
accent
#E543DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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