#5253AF#5253AF

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

Color values

HEX#5253AF
RGBrgb(82, 83, 175)
HSLhsl(239, 37%, 50%)
HSVhsv(239, 53%, 69%)
CMYKcmyk(53.1%, 52.6%, 0%, 31.4%)
CIE-LABlab(39.71, 25.87, -49.47)
CIE-LCHlch(39.71, 55.82, 297.61°)
OKLaboklab(49.05% 0.023 -0.1413)
OKLCHoklch(49.05% 0.143 279.3)
XYZxyz(14.3084, 11.0746, 41.9328)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253AF #AFAE52
analogous
#5281AF #5253AF #7F52AF
triadic
#5253AF #AF5253 #53AF52
tetradic
#5253AF #AF5281 #AFAE52 #52AF7F
square
#5253AF #AF5281 #AFAE52 #52AF7F
split-complementary
#5253AF #AF7F52 #81AF52
monochromatic
#2B2B5C #3E3F86 #5253AF #7C7DC2 #A6A6D6

Accessibility & contrast

On white

6.53
#5253AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5253AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253AF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253AF#FFFFFF#000000##FFFFFF
##5253AF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#296879
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5253af;
/* rgb */ color: rgb(82, 83, 175);
/* oklch */ color: oklch(49.0% 0.143 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a83c7',
    500: '#5253af',
    950: '#000000',
  },
}
SCSS
$custom: #5253af;
$custom-light: #8a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5253af",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 239.355,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.14312,
    "h": 279.3
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#5253AF
secondary
#C3C39A
accent
#CC5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5253AF

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

Preview Lab → · Contrast checker → · Palette generator →

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