#5B52DD#5B52DD

#5B52DD is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.204 H 279.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5B52DD
RGBrgb(91, 82, 221)
HSLhsl(244, 67%, 59%)
HSVhsv(244, 63%, 87%)
CMYKcmyk(58.8%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.47, 42.91, -70.01)
CIE-LCHlch(43.47, 82.11, 301.50°)
OKLaboklab(53.06% 0.0345 -0.2014)
OKLCHoklch(53.06% 0.204 279.7)
XYZxyz(20.3787, 13.4777, 69.9202)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52DD #D4DD52
analogous
#528FDD #5B52DD #A152DD
triadic
#5B52DD #DD5B52 #52DD5B
tetradic
#5B52DD #DD528F #D4DD52 #52DDA1
square
#5B52DD #DD528F #D4DD52 #52DDA1
split-complementary
#5B52DD #DDA152 #8FDD52
monochromatic
#261E97 #3228CA #5B52DD #8B85E7 #BCB8F1

Accessibility & contrast

On white

5.68
#5B52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5B52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52DD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52DD#FFFFFF#000000##FFFFFF
##5B52DD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.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: #5b52dd;
/* rgb */ color: rgb(91, 82, 221);
/* oklch */ color: oklch(53.1% 0.204 279.7);
Tailwind
colors: {
  custom: {
    50: '#9683e9',
    500: '#5b52dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b52dd;
$custom-light: #9683e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52dd",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 243.885,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.20435,
    "h": 279.7
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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