#5253D7#5253D7

#5253D7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.197 H 276.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5253D7
RGBrgb(82, 83, 215)
HSLhsl(240, 62%, 58%)
HSVhsv(240, 62%, 84%)
CMYKcmyk(61.9%, 61.4%, 0%, 15.7%)
CIE-LABlab(42.59, 38.96, -68.05)
CIE-LCHlch(42.59, 78.41, 299.79°)
OKLaboklab(52.1% 0.0232 -0.1959)
OKLCHoklch(52.1% 0.197 276.8)
XYZxyz(18.8347, 12.8852, 65.7713)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253D7 #D7D652
analogous
#5295D7 #5253D7 #9352D7
triadic
#5253D7 #D75253 #53D752
tetradic
#5253D7 #D75295 #D7D652 #52D793
square
#5253D7 #D75295 #D7D652 #52D793
split-complementary
#5253D7 #D79352 #95D752
monochromatic
#21228E #2C2DC0 #5253D7 #8484E2 #B5B6EE

Accessibility & contrast

On white

5.87
#5253D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5253D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253D7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253D7#FFFFFF#000000##FFFFFF
##5253D71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5253d7;
/* rgb */ color: rgb(82, 83, 215);
/* oklch */ color: oklch(52.1% 0.197 276.8);
Tailwind
colors: {
  custom: {
    50: '#9083e4',
    500: '#5253d7',
    950: '#000000',
  },
}
SCSS
$custom: #5253d7;
$custom-light: #9083e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5253d7",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 215
  },
  "hsl": {
    "h": 239.549,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.19728,
    "h": 276.8
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#5253D7
secondary
#DDDCA8
accent
#E442E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5253D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva