#5253E4#5253E4

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

Color values

HEX#5253E4
RGBrgb(82, 83, 228)
HSLhsl(240, 73%, 61%)
HSVhsv(240, 64%, 89%)
CMYKcmyk(64%, 63.6%, 0%, 10.6%)
CIE-LABlab(43.62, 43.20, -73.77)
CIE-LCHlch(43.62, 85.49, 300.36°)
OKLaboklab(53.18% 0.0224 -0.2127)
OKLCHoklch(53.18% 0.214 276)
XYZxyz(20.5719, 13.5800, 74.9209)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253E4 #E4E352
analogous
#529CE4 #5253E4 #9A52E4
triadic
#5253E4 #E45253 #53E452
tetradic
#5253E4 #E4529C #E4E352 #52E49A
square
#5253E4 #E4529C #E4E352 #52E49A
split-complementary
#5253E4 #E49A52 #9CE452
monochromatic
#191AA2 #2223D7 #5253E4 #8788EC #BCBCF5

Accessibility & contrast

On white

5.65
#5253E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5253E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253E4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253E4#FFFFFF#000000##FFFFFF
##5253E41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5253e4;
/* rgb */ color: rgb(82, 83, 228);
/* oklch */ color: oklch(53.2% 0.214 276.0);
Tailwind
colors: {
  custom: {
    50: '#9284ee',
    500: '#5253e4',
    950: '#000000',
  },
}
SCSS
$custom: #5253e4;
$custom-light: #9284ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5253e4",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 228
  },
  "hsl": {
    "h": 239.589,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.21386,
    "h": 276
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#5253E4
secondary
#E5E4AD
accent
#D410D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253E4

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

Preview Lab → · Contrast checker → · Palette generator →

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