#5253DB#5253DB

#5253DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.202 H 276.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5253DB
RGBrgb(82, 83, 219)
HSLhsl(240, 66%, 59%)
HSVhsv(240, 63%, 86%)
CMYKcmyk(62.6%, 62.1%, 0%, 14.1%)
CIE-LABlab(42.90, 40.27, -69.82)
CIE-LCHlch(42.90, 80.60, 299.97°)
OKLaboklab(52.42% 0.023 -0.2011)
OKLCHoklch(52.42% 0.202 276.5)
XYZxyz(19.3550, 13.0933, 68.5114)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253DB #DBDA52
analogous
#5298DB #5253DB #9652DB
triadic
#5253DB #DB5253 #53DB52
tetradic
#5253DB #DB5298 #DBDA52 #52DB96
square
#5253DB #DB5298 #DBDA52 #52DB96
split-complementary
#5253DB #DB9652 #98DB52
monochromatic
#1F2094 #292AC6 #5253DB #8585E6 #B7B8F0

Accessibility & contrast

On white

5.80
#5253DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5253DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253DB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253DB#FFFFFF#000000##FFFFFF
##5253DB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5253db;
/* rgb */ color: rgb(82, 83, 219);
/* oklch */ color: oklch(52.4% 0.202 276.5);
Tailwind
colors: {
  custom: {
    50: '#9184e7',
    500: '#5253db',
    950: '#000000',
  },
}
SCSS
$custom: #5253db;
$custom-light: #9184e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5253db",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 239.562,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.20243,
    "h": 276.5
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#5253DB
secondary
#DFDFAA
accent
#E73FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253DB

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

Preview Lab → · Contrast checker → · Palette generator →

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