#5752F1#5752F1

#5752F1 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.230 H 276.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5752F1
RGBrgb(87, 82, 241)
HSLhsl(242, 85%, 63%)
HSVhsv(242, 66%, 95%)
CMYKcmyk(63.9%, 66%, 0%, 5.5%)
CIE-LABlab(44.81, 48.63, -79.14)
CIE-LCHlch(44.81, 92.89, 301.57°)
OKLaboklab(54.46% 0.0278 -0.2283)
OKLCHoklch(54.46% 0.23 276.9)
XYZxyz(22.8198, 14.4098, 84.7808)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752F1 #ECF152
analogous
#529CF1 #5752F1 #A652F1
triadic
#5752F1 #F15752 #52F157
tetradic
#5752F1 #F1529C #ECF152 #52F1A6
square
#5752F1 #F1529C #ECF152 #52F1A6
split-complementary
#5752F1 #F1A652 #9CF152
monochromatic
#140FBA #2019EC #5752F1 #8E8BF6 #C5C3FA

Accessibility & contrast

On white

5.41
#5752F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5752F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752F1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752F1#FFFFFF#000000##FFFFFF
##5752F11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F6
Deuteranopia (green-blind)
#0063EE
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5752f1;
/* rgb */ color: rgb(87, 82, 241);
/* oklch */ color: oklch(54.5% 0.230 276.9);
Tailwind
colors: {
  custom: {
    50: '#9783f7',
    500: '#5752f1',
    950: '#000000',
  },
}
SCSS
$custom: #5752f1;
$custom-light: #9783f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5752f1",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 241.887,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.23,
    "h": 276.9
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#5752F1
secondary
#EAECB3
accent
#E204DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5752F1

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

Preview Lab → · Contrast checker → · Palette generator →

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