#5253EB#5253EB

#5253EB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.223 H 275.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5253EB
RGBrgb(82, 83, 235)
HSLhsl(240, 79%, 62%)
HSVhsv(240, 65%, 92%)
CMYKcmyk(65.1%, 64.7%, 0%, 7.8%)
CIE-LABlab(44.20, 45.47, -76.79)
CIE-LCHlch(44.20, 89.24, 300.63°)
OKLaboklab(53.77% 0.0218 -0.2215)
OKLCHoklch(53.77% 0.223 275.6)
XYZxyz(21.5634, 13.9766, 80.1426)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253EB #EBEA52
analogous
#529FEB #5253EB #9E52EB
triadic
#5253EB #EB5253 #53EB52
tetradic
#5253EB #EB529F #EBEA52 #52EB9E
square
#5253EB #EB529F #EBEA52 #52EB9E
split-complementary
#5253EB #EB9E52 #9FEB52
monochromatic
#1415AE #1B1CE5 #5253EB #898AF1 #C0C0F8

Accessibility & contrast

On white

5.53
#5253EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5253EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253EB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253EB#FFFFFF#000000##FFFFFF
##5253EB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5253eb;
/* rgb */ color: rgb(82, 83, 235);
/* oklch */ color: oklch(53.8% 0.223 275.6);
Tailwind
colors: {
  custom: {
    50: '#9484f3',
    500: '#5253eb',
    950: '#000000',
  },
}
SCSS
$custom: #5253eb;
$custom-light: #9484f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5253eb",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 239.608,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.22261,
    "h": 275.6
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#5253EB
secondary
#E8E8B0
accent
#DA0ADC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5253EB

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

Preview Lab → · Contrast checker → · Palette generator →

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