#5B52DC#5B52DC

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

Color values

HEX#5B52DC
RGBrgb(91, 82, 220)
HSLhsl(244, 66%, 59%)
HSVhsv(244, 63%, 86%)
CMYKcmyk(58.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.40, 42.59, -69.56)
CIE-LCHlch(43.40, 81.57, 301.48°)
OKLaboklab(52.97% 0.0346 -0.2001)
OKLCHoklch(52.97% 0.203 279.8)
XYZxyz(20.2459, 13.4246, 69.2206)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52DC #D3DC52
analogous
#528EDC #5B52DC #A052DC
triadic
#5B52DC #DC5B52 #52DC5B
tetradic
#5B52DC #DC528E #D3DC52 #52DCA0
square
#5B52DC #DC528E #D3DC52 #52DCA0
split-complementary
#5B52DC #DCA052 #8EDC52
monochromatic
#261E95 #3329C8 #5B52DC #8B85E6 #BCB8F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B52DC#FFFFFF#000000##FFFFFF
##5B52DC1.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)
#006CE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b52dc;
/* rgb */ color: rgb(91, 82, 220);
/* oklch */ color: oklch(53.0% 0.203 279.8);
Tailwind
colors: {
  custom: {
    50: '#9683e8',
    500: '#5b52dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b52dc;
$custom-light: #9683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52dc",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 243.913,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.20308,
    "h": 279.8
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#5B52DC
secondary
#DCE0AA
accent
#E93FDE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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