#5C52F3#5C52F3

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

Color values

HEX#5C52F3
RGBrgb(92, 82, 243)
HSLhsl(244, 87%, 64%)
HSVhsv(244, 66%, 95%)
CMYKcmyk(62.1%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.33, 49.92, -79.41)
CIE-LCHlch(45.33, 93.80, 302.16°)
OKLaboklab(54.97% 0.0335 -0.229)
OKLCHoklch(54.97% 0.231 278.3)
XYZxyz(23.6034, 14.7791, 86.3855)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52F3 #E9F352
analogous
#5298F3 #5C52F3 #AC52F3
triadic
#5C52F3 #F35C52 #52F35C
tetradic
#5C52F3 #F35298 #E9F352 #52F3AC
square
#5C52F3 #F35298 #E9F352 #52F3AC
split-complementary
#5C52F3 #F3AC52 #98F352
monochromatic
#180DBD #2619EF #5C52F3 #928BF7 #C8C4FB

Accessibility & contrast

On white

5.31
#5C52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5C52F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52F3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52F3#FFFFFF#000000##FFFFFF
##5C52F31.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.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: #5c52f3;
/* rgb */ color: rgb(92, 82, 243);
/* oklch */ color: oklch(55.0% 0.231 278.3);
Tailwind
colors: {
  custom: {
    50: '#9a84f8',
    500: '#5c52f3',
    950: '#000000',
  },
}
SCSS
$custom: #5c52f3;
$custom-light: #9a84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52f3",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 243.727,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.23141,
    "h": 278.3
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#5C52F3
secondary
#E9EDB4
accent
#E402D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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