#5253EA#5253EA

#5253EA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.221 H 275.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5253EA
RGBrgb(82, 83, 234)
HSLhsl(240, 78%, 62%)
HSVhsv(240, 65%, 92%)
CMYKcmyk(65%, 64.5%, 0%, 8.2%)
CIE-LABlab(44.12, 45.15, -76.36)
CIE-LCHlch(44.12, 88.71, 300.59°)
OKLaboklab(53.69% 0.0219 -0.2203)
OKLCHoklch(53.69% 0.221 275.7)
XYZxyz(21.4193, 13.9190, 79.3838)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253EA #EAE952
analogous
#529FEA #5253EA #9D52EA
triadic
#5253EA #EA5253 #53EA52
tetradic
#5253EA #EA529F #EAE952 #52EA9D
square
#5253EA #EA529F #EAE952 #52EA9D
split-complementary
#5253EA #EA9D52 #9FEA52
monochromatic
#1516AD #1C1DE3 #5253EA #8989F1 #BFC0F7

Accessibility & contrast

On white

5.55
#5253EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5253EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253EA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253EA#FFFFFF#000000##FFFFFF
##5253EA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5253ea;
/* rgb */ color: rgb(82, 83, 234);
/* oklch */ color: oklch(53.7% 0.221 275.7);
Tailwind
colors: {
  custom: {
    50: '#9484f2',
    500: '#5253ea',
    950: '#000000',
  },
}
SCSS
$custom: #5253ea;
$custom-light: #9484f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5253ea",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 239.605,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.22136,
    "h": 275.7
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#5253EA
secondary
#E8E8B0
accent
#D90BDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5253EA

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

Preview Lab → · Contrast checker → · Palette generator →

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