#5D52BB#5D52BB

#5D52BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.159 H 283.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5D52BB
RGBrgb(93, 82, 187)
HSLhsl(246, 44%, 53%)
HSVhsv(246, 56%, 73%)
CMYKcmyk(50.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(41.13, 32.64, -54.17)
CIE-LCHlch(41.13, 63.25, 301.07°)
OKLaboklab(50.59% 0.0382 -0.1548)
OKLCHoklch(50.59% 0.159 283.9)
XYZxyz(16.4984, 11.9488, 48.4411)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52BB #B0BB52
analogous
#527BBB #5D52BB #9252BB
triadic
#5D52BB #BB5D52 #52BB5D
tetradic
#5D52BB #BB527B #B0BB52 #52BB92
square
#5D52BB #BB527B #B0BB52 #52BB92
split-complementary
#5D52BB #BB9252 #7BBB52
monochromatic
#302969 #443B95 #5D52BB #867ECC #AFAADE

Accessibility & contrast

On white

6.19
#5D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5D52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52BB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52BB#FFFFFF#000000##FFFFFF
##5D52BB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#3A6A7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d52bb;
/* rgb */ color: rgb(93, 82, 187);
/* oklch */ color: oklch(50.6% 0.159 283.9);
Tailwind
colors: {
  custom: {
    50: '#9283d0',
    500: '#5d52bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d52bb;
$custom-light: #9283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52bb",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 246.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.15945,
    "h": 283.9
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#5D52BB
secondary
#C6CB9E
accent
#D354C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5D52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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