#5752F3#5752F3

#5752F3 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.6% C 0.232 H 276.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5752F3
RGBrgb(87, 82, 243)
HSLhsl(242, 87%, 64%)
HSVhsv(242, 66%, 95%)
CMYKcmyk(64.2%, 66.3%, 0%, 4.7%)
CIE-LABlab(44.98, 49.26, -79.99)
CIE-LCHlch(44.98, 93.94, 301.63°)
OKLaboklab(54.63% 0.0275 -0.2308)
OKLCHoklch(54.63% 0.232 276.8)
XYZxyz(23.1202, 14.5299, 86.3628)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752F3 #EEF352
analogous
#529DF3 #5752F3 #A752F3
triadic
#5752F3 #F35752 #52F357
tetradic
#5752F3 #F3529D #EEF352 #52F3A7
square
#5752F3 #F3529D #EEF352 #52F3A7
split-complementary
#5752F3 #F3A752 #9DF352
monochromatic
#130DBD #1F19EF #5752F3 #8F8BF7 #C6C4FB

Accessibility & contrast

On white

5.38
#5752F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5752F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752F3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752F3#FFFFFF#000000##FFFFFF
##5752F31.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0063F0
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5752f3;
/* rgb */ color: rgb(87, 82, 243);
/* oklch */ color: oklch(54.6% 0.232 276.8);
Tailwind
colors: {
  custom: {
    50: '#9884f8',
    500: '#5752f3',
    950: '#000000',
  },
}
SCSS
$custom: #5752f3;
$custom-light: #9884f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5752f3",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 241.863,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.23243,
    "h": 276.8
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#5752F3
secondary
#EBEDB4
accent
#E402DD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752F3

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

Preview Lab → · Contrast checker → · Palette generator →

#5752F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva