#5D52F0#5D52F0

#5D52F0 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.228 H 278.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D52F0
RGBrgb(93, 82, 240)
HSLhsl(244, 84%, 63%)
HSVhsv(244, 66%, 94%)
CMYKcmyk(61.2%, 65.8%, 0%, 5.9%)
CIE-LABlab(45.15, 49.13, -78.01)
CIE-LCHlch(45.15, 92.19, 302.20°)
OKLaboklab(54.79% 0.0351 -0.2248)
OKLCHoklch(54.79% 0.228 278.9)
XYZxyz(23.2546, 14.6512, 84.0237)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52F0 #E5F052
analogous
#5296F0 #5D52F0 #AC52F0
triadic
#5D52F0 #F05D52 #52F05D
tetradic
#5D52F0 #F05296 #E5F052 #52F0AC
square
#5D52F0 #F05296 #E5F052 #52F0AC
split-complementary
#5D52F0 #F0AC52 #96F052
monochromatic
#1C10B8 #281AEB #5D52F0 #928AF5 #C6C3FA

Accessibility & contrast

On white

5.34
#5D52F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D52F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52F0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52F0#FFFFFF#000000##FFFFFF
##5D52F01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0064ED
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d52f0;
/* rgb */ color: rgb(93, 82, 240);
/* oklch */ color: oklch(54.8% 0.228 278.9);
Tailwind
colors: {
  custom: {
    50: '#9a84f6',
    500: '#5d52f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d52f0;
$custom-light: #9a84f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52f0",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 244.177,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.22757,
    "h": 278.9
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#5D52F0
secondary
#E7EBB3
accent
#E005D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52F0

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

Preview Lab → · Contrast checker → · Palette generator →

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