#5A52DD#5A52DD

#5A52DD is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.205 H 279.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A52DD
RGBrgb(90, 82, 221)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(59.3%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.40, 42.75, -70.13)
CIE-LCHlch(43.40, 82.13, 301.36°)
OKLaboklab(52.98% 0.0333 -0.2018)
OKLCHoklch(52.98% 0.205 279.4)
XYZxyz(20.2807, 13.4272, 69.9156)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A52DD #D5DD52
analogous
#5290DD #5A52DD #A052DD
triadic
#5A52DD #DD5A52 #52DD5A
tetradic
#5A52DD #DD5290 #D5DD52 #52DDA0
square
#5A52DD #DD5290 #D5DD52 #52DDA0
split-complementary
#5A52DD #DDA052 #90DD52
monochromatic
#251E97 #3128CA #5A52DD #8B85E7 #BCB8F1

Accessibility & contrast

On white

5.70
#5A52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5A52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A52DD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A52DD#FFFFFF#000000##FFFFFF
##5A52DD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a52dd;
/* rgb */ color: rgb(90, 82, 221);
/* oklch */ color: oklch(53.0% 0.205 279.4);
Tailwind
colors: {
  custom: {
    50: '#9583e9',
    500: '#5a52dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a52dd;
$custom-light: #9583e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a52dd",
  "rgb": {
    "r": 90,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 243.453,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.20454,
    "h": 279.4
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#5A52DD
secondary
#DDE0AA
accent
#EA3EE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A52DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5A52DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva