#5252ED#5252ED

#5252ED is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.226 H 275.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5252ED
RGBrgb(82, 82, 237)
HSLhsl(240, 81%, 63%)
HSVhsv(240, 65%, 93%)
CMYKcmyk(65.4%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.15, 46.70, -78.00)
CIE-LCHlch(44.15, 90.91, 300.91°)
OKLaboklab(53.79% 0.0223 -0.2251)
OKLCHoklch(53.79% 0.226 275.7)
XYZxyz(21.7780, 13.9409, 81.6475)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5252ED #EDED52
analogous
#529FED #5252ED #9F52ED
triadic
#5252ED #ED5252 #52ED52
tetradic
#5252ED #ED529F #EDED52 #52ED9F
square
#5252ED #ED529F #EDED52 #52ED9F
split-complementary
#5252ED #ED9F52 #9FED52
monochromatic
#1313B2 #1B1BE7 #5252ED #8989F3 #C1C1F9

Accessibility & contrast

On white

5.54
#5252ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5252ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5252ED
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5252ED#FFFFFF#000000##FFFFFF
##5252ED1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0061EA
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5252ed;
/* rgb */ color: rgb(82, 82, 237);
/* oklch */ color: oklch(53.8% 0.226 275.7);
Tailwind
colors: {
  custom: {
    50: '#9483f4',
    500: '#5252ed',
    950: '#000000',
  },
}
SCSS
$custom: #5252ed;
$custom-light: #9483f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5252ed",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.2262,
    "h": 275.7
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#5252ED
secondary
#EAEAB1
accent
#DE08DE
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5252ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5252ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva