#5253BC#5253BC

#5253BC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.161 H 278.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5253BC
RGBrgb(82, 83, 188)
HSLhsl(239, 44%, 53%)
HSVhsv(239, 56%, 74%)
CMYKcmyk(56.4%, 55.9%, 0%, 26.3%)
CIE-LABlab(40.59, 30.11, -55.68)
CIE-LCHlch(40.59, 63.30, 298.41°)
OKLaboklab(49.99% 0.0236 -0.1595)
OKLCHoklch(49.99% 0.161 278.4)
XYZxyz(15.6472, 11.6101, 48.9837)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253BC #BCBB52
analogous
#5288BC #5253BC #8652BC
triadic
#5253BC #BC5253 #53BC52
tetradic
#5253BC #BC5288 #BCBB52 #52BC86
square
#5253BC #BC5288 #BCBB52 #52BC86
split-complementary
#5253BC #BC8652 #88BC52
monochromatic
#292A6A #3A3B97 #5253BC #7E7FCD #AAABDE

Accessibility & contrast

On white

6.32
#5253BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5253BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253BC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253BC#FFFFFF#000000##FFFFFF
##5253BC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#186B7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5253bc;
/* rgb */ color: rgb(82, 83, 188);
/* oklch */ color: oklch(50.0% 0.161 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c83d1',
    500: '#5253bc',
    950: '#000000',
  },
}
SCSS
$custom: #5253bc;
$custom-light: #8c83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5253bc",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 188
  },
  "hsl": {
    "h": 239.434,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.16128,
    "h": 278.4
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#5253BC
secondary
#CCCB9E
accent
#D354D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5253BC

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

Preview Lab → · Contrast checker → · Palette generator →

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