#5B52F7#5B52F7

#5B52F7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.2% C 0.236 H 277.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B52F7
RGBrgb(91, 82, 247)
HSLhsl(243, 91%, 65%)
HSVhsv(243, 67%, 97%)
CMYKcmyk(63.2%, 66.8%, 0%, 3.1%)
CIE-LABlab(45.60, 51.03, -81.22)
CIE-LCHlch(45.60, 95.92, 302.14°)
OKLaboklab(55.25% 0.0318 -0.2343)
OKLCHoklch(55.25% 0.236 277.7)
XYZxyz(24.1148, 14.9722, 89.5968)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52F7 #EEF752
analogous
#529BF7 #5B52F7 #AE52F7
triadic
#5B52F7 #F75B52 #52F75B
tetradic
#5B52F7 #F7529B #EEF752 #52F7AE
square
#5B52F7 #F7529B #EEF752 #52F7AE
split-complementary
#5B52F7 #F7AE52 #9BF752
monochromatic
#1309C5 #2418F4 #5B52F7 #928CFA #CAC7FC

Accessibility & contrast

On white

5.26
#5B52F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5B52F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52F7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52F7#FFFFFF#000000##FFFFFF
##5B52F71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#0065F4
Tritanopia (blue-blind)
#007E9E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b52f7;
/* rgb */ color: rgb(91, 82, 247);
/* oklch */ color: oklch(55.2% 0.236 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a84fb',
    500: '#5b52f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b52f7;
$custom-light: #9a84fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52f7",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 243.273,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.23644,
    "h": 277.7
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#5B52F7
secondary
#ECEFB6
accent
#E600D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B52F7

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

Preview Lab → · Contrast checker → · Palette generator →

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