#5752DE#5752DE

#5752DE is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.206 H 278.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5752DE
RGBrgb(87, 82, 222)
HSLhsl(242, 68%, 60%)
HSVhsv(242, 63%, 87%)
CMYKcmyk(60.8%, 63.1%, 0%, 12.9%)
CIE-LABlab(43.26, 42.59, -70.94)
CIE-LCHlch(43.26, 82.74, 300.98°)
OKLaboklab(52.85% 0.0296 -0.2042)
OKLCHoklch(52.85% 0.206 278.2)
XYZxyz(20.1284, 13.3332, 70.6059)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752DE #D9DE52
analogous
#5293DE #5752DE #9D52DE
triadic
#5752DE #DE5752 #52DE57
tetradic
#5752DE #DE5293 #D9DE52 #52DE9D
square
#5752DE #DE5293 #D9DE52 #52DE9D
split-complementary
#5752DE #DE9D52 #93DE52
monochromatic
#211D99 #2D27CC #5752DE #8985E8 #BBB9F2

Accessibility & contrast

On white

5.73
#5752DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5752DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752DE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752DE#FFFFFF#000000##FFFFFF
##5752DE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5752de;
/* rgb */ color: rgb(87, 82, 222);
/* oklch */ color: oklch(52.8% 0.206 278.2);
Tailwind
colors: {
  custom: {
    50: '#9483e9',
    500: '#5752de',
    950: '#000000',
  },
}
SCSS
$custom: #5752de;
$custom-light: #9483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5752de",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 242.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.20638,
    "h": 278.2
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#5752DE
secondary
#DFE1AB
accent
#EB3DE5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5752DE

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

Preview Lab → · Contrast checker → · Palette generator →

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