#5253AE#5253AE

#5253AE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.142 H 279.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5253AE
RGBrgb(82, 83, 174)
HSLhsl(239, 36%, 50%)
HSVhsv(239, 53%, 68%)
CMYKcmyk(52.9%, 52.3%, 0%, 31.8%)
CIE-LABlab(39.64, 25.55, -48.98)
CIE-LCHlch(39.64, 55.24, 297.55°)
OKLaboklab(48.98% 0.023 -0.1398)
OKLCHoklch(48.98% 0.142 279.3)
XYZxyz(14.2105, 11.0355, 41.4174)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253AE #AEAD52
analogous
#5281AE #5253AE #7F52AE
triadic
#5253AE #AE5253 #53AE52
tetradic
#5253AE #AE5281 #AEAD52 #52AE7F
square
#5253AE #AE5281 #AEAD52 #52AE7F
split-complementary
#5253AE #AE7F52 #81AE52
monochromatic
#2B2B5B #3E3F85 #5253AE #7C7CC2 #A5A6D5

Accessibility & contrast

On white

6.55
#5253AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5253AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253AE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253AE#FFFFFF#000000##FFFFFF
##5253AE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#2A6778
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5253ae;
/* rgb */ color: rgb(82, 83, 174);
/* oklch */ color: oklch(49.0% 0.142 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a83c7',
    500: '#5253ae',
    950: '#000000',
  },
}
SCSS
$custom: #5253ae;
$custom-light: #8a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5253ae",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 174
  },
  "hsl": {
    "h": 239.348,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.1417,
    "h": 279.3
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#5253AE
secondary
#C2C299
accent
#CB5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5253AE

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

Preview Lab → · Contrast checker → · Palette generator →

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