#5253CC#5253CC

#5253CC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.183 H 277.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5253CC
RGBrgb(82, 83, 204)
HSLhsl(240, 54%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(59.8%, 59.3%, 0%, 20%)
CIE-LABlab(41.75, 35.36, -63.09)
CIE-LCHlch(41.75, 72.32, 299.27°)
OKLaboklab(51.22% 0.0236 -0.1813)
OKLCHoklch(51.22% 0.183 277.4)
XYZxyz(17.4685, 12.3387, 58.5761)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253CC #CCCB52
analogous
#5290CC #5253CC #8E52CC
triadic
#5253CC #CC5253 #53CC52
tetradic
#5253CC #CC5290 #CCCB52 #52CC8E
square
#5253CC #CC5290 #CCCB52 #52CC8E
split-complementary
#5253CC #CC8E52 #90CC52
monochromatic
#25267E #3334AE #5253CC #8182DA #B1B1E8

Accessibility & contrast

On white

6.06
#5253CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5253CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253CC#FFFFFF#000000##FFFFFF
##5253CC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5253cc;
/* rgb */ color: rgb(82, 83, 204);
/* oklch */ color: oklch(51.2% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e83dc',
    500: '#5253cc',
    950: '#000000',
  },
}
SCSS
$custom: #5253cc;
$custom-light: #8e83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5253cc",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 239.508,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.18287,
    "h": 277.4
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#5253CC
secondary
#D6D6A4
accent
#DD4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5253CC

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

Preview Lab → · Contrast checker → · Palette generator →

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