#5252DE#5252DE

#5252DE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.207 H 276.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5252DE
RGBrgb(82, 82, 222)
HSLhsl(240, 68%, 60%)
HSVhsv(240, 63%, 87%)
CMYKcmyk(63.1%, 63.1%, 0%, 12.9%)
CIE-LABlab(42.91, 41.85, -71.52)
CIE-LCHlch(42.91, 82.86, 300.33°)
OKLaboklab(52.51% 0.0236 -0.2061)
OKLCHoklch(52.51% 0.207 276.5)
XYZxyz(19.6775, 13.1007, 70.5848)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5252DE #DEDE52
analogous
#5298DE #5252DE #9852DE
triadic
#5252DE #DE5252 #52DE52
tetradic
#5252DE #DE5298 #DEDE52 #52DE98
square
#5252DE #DE5298 #DEDE52 #52DE98
split-complementary
#5252DE #DE9852 #98DE52
monochromatic
#1D1D99 #2727CC #5252DE #8585E8 #B9B9F2

Accessibility & contrast

On white

5.80
#5252DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5252DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5252DE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5252DE#FFFFFF#000000##FFFFFF
##5252DE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5252de;
/* rgb */ color: rgb(82, 82, 222);
/* oklch */ color: oklch(52.5% 0.207 276.5);
Tailwind
colors: {
  custom: {
    50: '#9183e9',
    500: '#5252de',
    950: '#000000',
  },
}
SCSS
$custom: #5252de;
$custom-light: #9183e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5252de",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 240,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.20744,
    "h": 276.5
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#5252DE
secondary
#E1E1AB
accent
#EB3DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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