#5752FB#5752FB

#5752FB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.242 H 276.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5752FB
RGBrgb(87, 82, 251)
HSLhsl(242, 95%, 65%)
HSVhsv(242, 67%, 98%)
CMYKcmyk(65.3%, 67.3%, 0%, 1.6%)
CIE-LABlab(45.67, 51.77, -83.35)
CIE-LCHlch(45.67, 98.12, 301.85°)
OKLaboklab(55.34% 0.0266 -0.2406)
OKLCHoklch(55.34% 0.242 276.3)
XYZxyz(24.3547, 15.0237, 92.8645)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752FB #F6FB52
analogous
#52A2FB #5752FB #AB52FB
triadic
#5752FB #FB5752 #52FB57
tetradic
#5752FB #FB52A2 #F6FB52 #52FBAB
square
#5752FB #FB52A2 #F6FB52 #52FBAB
split-complementary
#5752FB #FBAB52 #A2FB52
monochromatic
#0B05CE #1D16FA #5752FB #918EFC #CBCAFE

Accessibility & contrast

On white

5.24
#5752FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5752FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752FB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752FB#FFFFFF#000000##FFFFFF
##5752FB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0065F8
Tritanopia (blue-blind)
#007FA0
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5752fb;
/* rgb */ color: rgb(87, 82, 251);
/* oklch */ color: oklch(55.3% 0.242 276.3);
Tailwind
colors: {
  custom: {
    50: '#9984fe',
    500: '#5752fb',
    950: '#000000',
  },
}
SCSS
$custom: #5752fb;
$custom-light: #9984fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5752fb",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 251
  },
  "hsl": {
    "h": 241.775,
    "s": 95.48,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.24209,
    "h": 276.3
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5752FB

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

Preview Lab → · Contrast checker → · Palette generator →

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