#5C52F7#5C52F7

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

Color values

HEX#5C52F7
RGBrgb(92, 82, 247)
HSLhsl(244, 91%, 65%)
HSVhsv(244, 67%, 97%)
CMYKcmyk(62.8%, 66.8%, 0%, 3.1%)
CIE-LABlab(45.67, 51.16, -81.10)
CIE-LCHlch(45.67, 95.89, 302.25°)
OKLaboklab(55.32% 0.033 -0.2339)
OKLCHoklch(55.32% 0.236 278)
XYZxyz(24.2140, 15.0233, 89.6014)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52F7 #EDF752
analogous
#529BF7 #5C52F7 #AE52F7
triadic
#5C52F7 #F75C52 #52F75C
tetradic
#5C52F7 #F7529B #EDF752 #52F7AE
square
#5C52F7 #F7529B #EDF752 #52F7AE
split-complementary
#5C52F7 #F7AE52 #9BF752
monochromatic
#1509C5 #2518F4 #5C52F7 #938CFA #CAC7FC

Accessibility & contrast

On white

5.24
#5C52F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5C52F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52F7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52F7#FFFFFF#000000##FFFFFF
##5C52F71.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.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: #5c52f7;
/* rgb */ color: rgb(92, 82, 247);
/* oklch */ color: oklch(55.3% 0.236 278.0);
Tailwind
colors: {
  custom: {
    50: '#9b84fb',
    500: '#5c52f7',
    950: '#000000',
  },
}
SCSS
$custom: #5c52f7;
$custom-light: #9b84fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52f7",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 243.636,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.23624,
    "h": 278
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#5C52F7
secondary
#EBEFB6
accent
#E600D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5C52F7

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

Preview Lab → · Contrast checker → · Palette generator →

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