#5253BF#5253BF

#5253BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.165 H 278.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5253BF
RGBrgb(82, 83, 191)
HSLhsl(239, 46%, 54%)
HSVhsv(239, 57%, 75%)
CMYKcmyk(57.1%, 56.5%, 0%, 25.1%)
CIE-LABlab(40.80, 31.09, -57.09)
CIE-LCHlch(40.80, 65.01, 298.58°)
OKLaboklab(50.21% 0.0237 -0.1637)
OKLCHoklch(50.21% 0.165 278.2)
XYZxyz(15.9739, 11.7408, 50.7046)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253BF #BFBE52
analogous
#5289BF #5253BF #8752BF
triadic
#5253BF #BF5253 #53BF52
tetradic
#5253BF #BF5289 #BFBE52 #52BF87
square
#5253BF #BF5289 #BFBE52 #52BF87
split-complementary
#5253BF #BF8752 #89BF52
monochromatic
#29296E #393A9B #5253BF #7F7FD0 #ABACE0

Accessibility & contrast

On white

6.27
#5253BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5253BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253BF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253BF#FFFFFF#000000##FFFFFF
##5253BF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#126C81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5253bf;
/* rgb */ color: rgb(82, 83, 191);
/* oklch */ color: oklch(50.2% 0.165 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c83d3',
    500: '#5253bf',
    950: '#000000',
  },
}
SCSS
$custom: #5253bf;
$custom-light: #8c83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5253bf",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 239.45,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.16538,
    "h": 278.2
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#5253BF
secondary
#CECD9F
accent
#D452D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5253BF

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

Preview Lab → · Contrast checker → · Palette generator →

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