#5253E3#5253E3

#5253E3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.213 H 276.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5253E3
RGBrgb(82, 83, 227)
HSLhsl(240, 72%, 61%)
HSVhsv(240, 64%, 89%)
CMYKcmyk(63.9%, 63.4%, 0%, 11%)
CIE-LABlab(43.54, 42.88, -73.33)
CIE-LCHlch(43.54, 84.95, 300.31°)
OKLaboklab(53.09% 0.0225 -0.2114)
OKLCHoklch(53.09% 0.213 276.1)
XYZxyz(20.4335, 13.5247, 74.1919)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253E3 #E3E252
analogous
#529BE3 #5253E3 #9952E3
triadic
#5253E3 #E35253 #53E352
tetradic
#5253E3 #E3529B #E3E252 #52E399
square
#5253E3 #E3529B #E3E252 #52E399
split-complementary
#5253E3 #E39952 #9BE352
monochromatic
#1A1BA1 #2324D5 #5253E3 #8787EC #BBBCF4

Accessibility & contrast

On white

5.67
#5253E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5253E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253E3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253E3#FFFFFF#000000##FFFFFF
##5253E31.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5253e3;
/* rgb */ color: rgb(82, 83, 227);
/* oklch */ color: oklch(53.1% 0.213 276.1);
Tailwind
colors: {
  custom: {
    50: '#9284ed',
    500: '#5253e3',
    950: '#000000',
  },
}
SCSS
$custom: #5253e3;
$custom-light: #9284ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5253e3",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 227
  },
  "hsl": {
    "h": 239.586,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.2126,
    "h": 276.1
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#5253E3
secondary
#E4E4AD
accent
#D311D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253E3

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

Preview Lab → · Contrast checker → · Palette generator →

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