#5752FF#5752FF

#5752FF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.7% C 0.247 H 276.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5752FF
RGBrgb(87, 82, 255)
HSLhsl(242, 100%, 66%)
HSVhsv(242, 68%, 100%)
CMYKcmyk(65.9%, 67.8%, 0%, 0%)
CIE-LABlab(46.01, 53.03, -85.01)
CIE-LCHlch(46.01, 100.19, 301.96°)
OKLaboklab(55.69% 0.026 -0.2455)
OKLCHoklch(55.69% 0.247 276.1)
XYZxyz(24.9919, 15.2786, 96.2204)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752FF #FAFF52
analogous
#52A3FF #5752FF #AD52FF
triadic
#5752FF #FF5752 #52FF57
tetradic
#5752FF #FF52A3 #FAFF52 #52FFAD
square
#5752FF #FF52A3 #FAFF52 #52FFAD
split-complementary
#5752FF #FFAD52 #A3FF52
monochromatic
#0600D7 #1C15FF #5752FF #928FFF #CECCFF

Accessibility & contrast

On white

5.18
#5752FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5752FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752FF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752FF#FFFFFF#000000##FFFFFF
##5752FF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5752ff;
/* rgb */ color: rgb(87, 82, 255);
/* oklch */ color: oklch(55.7% 0.247 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a84ff',
    500: '#5752ff',
    950: '#000000',
  },
}
SCSS
$custom: #5752ff;
$custom-light: #9a84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5752ff",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 241.734,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.24686,
    "h": 276.1
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#5752FF
secondary
#F1F3BA
accent
#E600DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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