#5253CD#5253CD

#5253CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.184 H 277.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5253CD
RGBrgb(82, 83, 205)
HSLhsl(240, 55%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(60%, 59.5%, 0%, 19.6%)
CIE-LABlab(41.82, 35.69, -63.55)
CIE-LCHlch(41.82, 72.88, 299.32°)
OKLaboklab(51.29% 0.0236 -0.1827)
OKLCHoklch(51.29% 0.184 277.4)
XYZxyz(17.5888, 12.3868, 59.2098)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253CD #CDCC52
analogous
#5291CD #5253CD #8F52CD
triadic
#5253CD #CD5253 #53CD52
tetradic
#5253CD #CD5291 #CDCC52 #52CD8F
square
#5253CD #CD5291 #CDCC52 #52CD8F
split-complementary
#5253CD #CD8F52 #91CD52
monochromatic
#252680 #3334AF #5253CD #8182DB #B1B1E8

Accessibility & contrast

On white

6.04
#5253CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5253CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253CD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253CD#FFFFFF#000000##FFFFFF
##5253CD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5253cd;
/* rgb */ color: rgb(82, 83, 205);
/* oklch */ color: oklch(51.3% 0.184 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e83dd',
    500: '#5253cd',
    950: '#000000',
  },
}
SCSS
$custom: #5253cd;
$custom-light: #8e83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5253cd",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 239.512,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.1842,
    "h": 277.4
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#5253CD
secondary
#D7D6A4
accent
#DD49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5253CD

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

Preview Lab → · Contrast checker → · Palette generator →

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