#5253CA#5253CA

#5253CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.180 H 277.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5253CA
RGBrgb(82, 83, 202)
HSLhsl(240, 53%, 56%)
HSVhsv(240, 59%, 79%)
CMYKcmyk(59.4%, 58.9%, 0%, 20.8%)
CIE-LABlab(41.60, 34.70, -62.18)
CIE-LCHlch(41.60, 71.21, 299.17°)
OKLaboklab(51.06% 0.0237 -0.1787)
OKLCHoklch(51.06% 0.18 277.5)
XYZxyz(17.2302, 12.2433, 57.3209)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253CA #CAC952
analogous
#528FCA #5253CA #8D52CA
triadic
#5253CA #CA5253 #53CA52
tetradic
#5253CA #CA528F #CAC952 #52CA8D
square
#5253CA #CA528F #CAC952 #52CA8D
split-complementary
#5253CA #CA8D52 #8FCA52
monochromatic
#26277C #3435AB #5253CA #8182D8 #B0B0E7

Accessibility & contrast

On white

6.09
#5253CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5253CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253CA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253CA#FFFFFF#000000##FFFFFF
##5253CA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5253ca;
/* rgb */ color: rgb(82, 83, 202);
/* oklch */ color: oklch(51.1% 0.180 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e83db',
    500: '#5253ca',
    950: '#000000',
  },
}
SCSS
$custom: #5253ca;
$custom-light: #8e83db;
$custom-dark: #000000;
JSON
{
  "hex": "#5253ca",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 239.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.18022,
    "h": 277.5
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#5253CA
secondary
#D5D4A3
accent
#DB4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5253CA

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

Preview Lab → · Contrast checker → · Palette generator →

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