#5253BD#5253BD

#5253BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.163 H 278.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5253BD
RGBrgb(82, 83, 189)
HSLhsl(239, 45%, 53%)
HSVhsv(239, 57%, 74%)
CMYKcmyk(56.6%, 56.1%, 0%, 25.9%)
CIE-LABlab(40.66, 30.44, -56.15)
CIE-LCHlch(40.66, 63.87, 298.46°)
OKLaboklab(50.06% 0.0236 -0.1609)
OKLCHoklch(50.06% 0.163 278.4)
XYZxyz(15.7553, 11.6534, 49.5533)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253BD #BDBC52
analogous
#5288BD #5253BD #8652BD
triadic
#5253BD #BD5253 #53BD52
tetradic
#5253BD #BD5288 #BDBC52 #52BD86
square
#5253BD #BD5288 #BDBC52 #52BD86
split-complementary
#5253BD #BD8652 #88BD52
monochromatic
#292A6C #3A3B98 #5253BD #7E7FCE #ABABDF

Accessibility & contrast

On white

6.30
#5253BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5253BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253BD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253BD#FFFFFF#000000##FFFFFF
##5253BD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#176C80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5253bd;
/* rgb */ color: rgb(82, 83, 189);
/* oklch */ color: oklch(50.1% 0.163 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c83d2',
    500: '#5253bd',
    950: '#000000',
  },
}
SCSS
$custom: #5253bd;
$custom-light: #8c83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5253bd",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 239.439,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.16265,
    "h": 278.4
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#5253BD
secondary
#CCCC9E
accent
#D353D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5253BD

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

Preview Lab → · Contrast checker → · Palette generator →

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