#5253C8#5253C8

#5253C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.178 H 277.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5253C8
RGBrgb(82, 83, 200)
HSLhsl(239, 52%, 55%)
HSVhsv(239, 59%, 78%)
CMYKcmyk(59%, 58.5%, 0%, 21.6%)
CIE-LABlab(41.45, 34.05, -61.26)
CIE-LCHlch(41.45, 70.09, 299.06°)
OKLaboklab(50.9% 0.0237 -0.176)
OKLCHoklch(50.9% 0.178 277.7)
XYZxyz(16.9949, 12.1492, 56.0819)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253C8 #C8C752
analogous
#528EC8 #5253C8 #8C52C8
triadic
#5253C8 #C85253 #53C852
tetradic
#5253C8 #C8528E #C8C752 #52C88C
square
#5253C8 #C8528E #C8C752 #52C88C
split-complementary
#5253C8 #C88C52 #8EC852
monochromatic
#272779 #3536A8 #5253C8 #8081D7 #AFAFE6

Accessibility & contrast

On white

6.12
#5253C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5253C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253C8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253C8#FFFFFF#000000##FFFFFF
##5253C81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5253c8;
/* rgb */ color: rgb(82, 83, 200);
/* oklch */ color: oklch(50.9% 0.178 277.7);
Tailwind
colors: {
  custom: {
    50: '#8e83da',
    500: '#5253c8',
    950: '#000000',
  },
}
SCSS
$custom: #5253c8;
$custom-light: #8e83da;
$custom-dark: #000000;
JSON
{
  "hex": "#5253c8",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 239.492,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.17755,
    "h": 277.7
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#5253C8
secondary
#D4D3A2
accent
#DA4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5253C8

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

Preview Lab → · Contrast checker → · Palette generator →

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