#5253D2#5253D2

#5253D2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.191 H 277.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5253D2
RGBrgb(82, 83, 210)
HSLhsl(240, 59%, 57%)
HSVhsv(240, 61%, 82%)
CMYKcmyk(61%, 60.5%, 0%, 17.6%)
CIE-LABlab(42.20, 37.32, -65.81)
CIE-LCHlch(42.20, 75.66, 299.56°)
OKLaboklab(51.69% 0.0234 -0.1893)
OKLCHoklch(51.69% 0.191 277.1)
XYZxyz(18.2020, 12.6321, 62.4393)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253D2 #D2D152
analogous
#5293D2 #5253D2 #9152D2
triadic
#5253D2 #D25253 #53D252
tetradic
#5253D2 #D25293 #D2D152 #52D291
square
#5253D2 #D25293 #D2D152 #52D291
split-complementary
#5253D2 #D29152 #93D252
monochromatic
#232487 #3031B7 #5253D2 #8383DF #B3B4EB

Accessibility & contrast

On white

5.95
#5253D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5253D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253D2#FFFFFF#000000##FFFFFF
##5253D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5253d2;
/* rgb */ color: rgb(82, 83, 210);
/* oklch */ color: oklch(51.7% 0.191 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f83e1',
    500: '#5253d2',
    950: '#000000',
  },
}
SCSS
$custom: #5253d2;
$custom-light: #8f83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5253d2",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 239.531,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.19077,
    "h": 277.1
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#5253D2
secondary
#DAD9A6
accent
#E146E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5253D2

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

Preview Lab → · Contrast checker → · Palette generator →

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