#5253CE#5253CE

#5253CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.186 H 277.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5253CE
RGBrgb(82, 83, 206)
HSLhsl(240, 56%, 56%)
HSVhsv(240, 60%, 81%)
CMYKcmyk(60.2%, 59.7%, 0%, 19.2%)
CIE-LABlab(41.90, 36.01, -64.00)
CIE-LCHlch(41.90, 73.44, 299.37°)
OKLaboklab(51.37% 0.0236 -0.184)
OKLCHoklch(51.37% 0.186 277.3)
XYZxyz(17.7099, 12.4352, 59.8475)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253CE #CECD52
analogous
#5291CE #5253CE #8F52CE
triadic
#5253CE #CE5253 #53CE52
tetradic
#5253CE #CE5291 #CECD52 #52CE8F
square
#5253CE #CE5291 #CECD52 #52CE8F
split-complementary
#5253CE #CE8F52 #91CE52
monochromatic
#252581 #3233B1 #5253CE #8282DC #B1B2E9

Accessibility & contrast

On white

6.02
#5253CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5253CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253CE#FFFFFF#000000##FFFFFF
##5253CE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5253ce;
/* rgb */ color: rgb(82, 83, 206);
/* oklch */ color: oklch(51.4% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f83de',
    500: '#5253ce',
    950: '#000000',
  },
}
SCSS
$custom: #5253ce;
$custom-light: #8f83de;
$custom-dark: #000000;
JSON
{
  "hex": "#5253ce",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 206
  },
  "hsl": {
    "h": 239.516,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.18552,
    "h": 277.3
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#5253CE
secondary
#D7D7A4
accent
#DE49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5253CE

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

Preview Lab → · Contrast checker → · Palette generator →

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