#5D52F3#5D52F3

#5D52F3 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.231 H 278.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D52F3
RGBrgb(93, 82, 243)
HSLhsl(244, 87%, 64%)
HSVhsv(244, 66%, 95%)
CMYKcmyk(61.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.40, 50.06, -79.29)
CIE-LCHlch(45.40, 93.77, 302.27°)
OKLaboklab(55.04% 0.0348 -0.2286)
OKLCHoklch(55.04% 0.231 278.6)
XYZxyz(23.7040, 14.8310, 86.3902)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52F3 #E8F352
analogous
#5297F3 #5D52F3 #AD52F3
triadic
#5D52F3 #F35D52 #52F35D
tetradic
#5D52F3 #F35297 #E8F352 #52F3AD
square
#5D52F3 #F35297 #E8F352 #52F3AD
split-complementary
#5D52F3 #F3AD52 #97F352
monochromatic
#190DBD #2719EF #5D52F3 #938BF7 #C8C4FB

Accessibility & contrast

On white

5.29
#5D52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D52F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52F3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52F3#FFFFFF#000000##FFFFFF
##5D52F31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0065F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d52f3;
/* rgb */ color: rgb(93, 82, 243);
/* oklch */ color: oklch(55.0% 0.231 278.6);
Tailwind
colors: {
  custom: {
    50: '#9a84f8',
    500: '#5d52f3',
    950: '#000000',
  },
}
SCSS
$custom: #5d52f3;
$custom-light: #9a84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52f3",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 244.099,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.23122,
    "h": 278.6
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#5D52F3
secondary
#E9EDB4
accent
#E402D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5D52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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