#5253D5#5253D5

#5253D5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.195 H 276.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5253D5
RGBrgb(82, 83, 213)
HSLhsl(240, 61%, 58%)
HSVhsv(240, 62%, 84%)
CMYKcmyk(61.5%, 61%, 0%, 16.5%)
CIE-LABlab(42.43, 38.31, -67.16)
CIE-LCHlch(42.43, 77.31, 299.70°)
OKLaboklab(51.93% 0.0233 -0.1933)
OKLCHoklch(51.93% 0.195 276.9)
XYZxyz(18.5793, 12.7830, 64.4262)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253D5 #D5D452
analogous
#5294D5 #5253D5 #9252D5
triadic
#5253D5 #D55253 #53D552
tetradic
#5253D5 #D55294 #D5D452 #52D592
square
#5253D5 #D55294 #D5D452 #52D592
split-complementary
#5253D5 #D59252 #94D552
monochromatic
#22238B #2E2FBC #5253D5 #8384E1 #B4B5ED

Accessibility & contrast

On white

5.90
#5253D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5253D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253D5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253D5#FFFFFF#000000##FFFFFF
##5253D51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5253d5;
/* rgb */ color: rgb(82, 83, 213);
/* oklch */ color: oklch(51.9% 0.195 276.9);
Tailwind
colors: {
  custom: {
    50: '#9083e3',
    500: '#5253d5',
    950: '#000000',
  },
}
SCSS
$custom: #5253d5;
$custom-light: #9083e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5253d5",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 213
  },
  "hsl": {
    "h": 239.542,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.19468,
    "h": 276.9
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#5253D5
secondary
#DCDBA7
accent
#E344E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253D5

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

Preview Lab → · Contrast checker → · Palette generator →

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