#5C52F1#5C52F1

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

Color values

HEX#5C52F1
RGBrgb(92, 82, 241)
HSLhsl(244, 85%, 63%)
HSVhsv(244, 66%, 95%)
CMYKcmyk(61.8%, 66%, 0%, 5.5%)
CIE-LABlab(45.16, 49.30, -78.56)
CIE-LCHlch(45.16, 92.75, 302.11°)
OKLaboklab(54.8% 0.0338 -0.2265)
OKLCHoklch(54.8% 0.229 278.5)
XYZxyz(23.3030, 14.6589, 84.8035)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52F1 #E7F152
analogous
#5297F1 #5C52F1 #AC52F1
triadic
#5C52F1 #F15C52 #52F15C
tetradic
#5C52F1 #F15297 #E7F152 #52F1AC
square
#5C52F1 #F15297 #E7F152 #52F1AC
split-complementary
#5C52F1 #F1AC52 #97F152
monochromatic
#1A0FBA #2719EC #5C52F1 #918BF6 #C7C3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C52F1#FFFFFF#000000##FFFFFF
##5C52F11.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)
#0071F6
Deuteranopia (green-blind)
#0064EE
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c52f1;
/* rgb */ color: rgb(92, 82, 241);
/* oklch */ color: oklch(54.8% 0.229 278.5);
Tailwind
colors: {
  custom: {
    50: '#9a84f7',
    500: '#5c52f1',
    950: '#000000',
  },
}
SCSS
$custom: #5c52f1;
$custom-light: #9a84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52f1",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 243.774,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.548,
    "c": 0.22898,
    "h": 278.5
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#5C52F1
secondary
#E8ECB3
accent
#E204D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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