#5253E5#5253E5

#5253E5 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.215 H 276.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5253E5
RGBrgb(82, 83, 229)
HSLhsl(240, 74%, 61%)
HSVhsv(240, 64%, 90%)
CMYKcmyk(64.2%, 63.8%, 0%, 10.2%)
CIE-LABlab(43.71, 43.53, -74.20)
CIE-LCHlch(43.71, 86.02, 300.40°)
OKLaboklab(53.26% 0.0223 -0.214)
OKLCHoklch(53.26% 0.215 276)
XYZxyz(20.7112, 13.6357, 75.6541)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253E5 #E5E452
analogous
#529CE5 #5253E5 #9A52E5
triadic
#5253E5 #E55253 #53E552
tetradic
#5253E5 #E5529C #E5E452 #52E59A
square
#5253E5 #E5529C #E5E452 #52E59A
split-complementary
#5253E5 #E59A52 #9CE552
monochromatic
#191AA4 #2122D9 #5253E5 #8788ED #BCBDF5

Accessibility & contrast

On white

5.63
#5253E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5253E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253E5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253E5#FFFFFF#000000##FFFFFF
##5253E51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5253e5;
/* rgb */ color: rgb(82, 83, 229);
/* oklch */ color: oklch(53.3% 0.215 276.0);
Tailwind
colors: {
  custom: {
    50: '#9384ee',
    500: '#5253e5',
    950: '#000000',
  },
}
SCSS
$custom: #5253e5;
$custom-light: #9384ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5253e5",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 229
  },
  "hsl": {
    "h": 239.592,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.21512,
    "h": 276
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#5253E5
secondary
#E5E5AE
accent
#D510D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5253E5

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

Preview Lab → · Contrast checker → · Palette generator →

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