#5253CF#5253CF

#5253CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.187 H 277.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5253CF
RGBrgb(82, 83, 207)
HSLhsl(240, 57%, 57%)
HSVhsv(240, 60%, 81%)
CMYKcmyk(60.4%, 59.9%, 0%, 18.8%)
CIE-LABlab(41.98, 36.34, -64.46)
CIE-LCHlch(41.98, 73.99, 299.42°)
OKLaboklab(51.45% 0.0235 -0.1853)
OKLCHoklch(51.45% 0.187 277.2)
XYZxyz(17.8318, 12.4840, 60.4894)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253CF #CFCE52
analogous
#5292CF #5253CF #9052CF
triadic
#5253CF #CF5253 #53CF52
tetradic
#5253CF #CF5292 #CFCE52 #52CF90
square
#5253CF #CF5292 #CFCE52 #52CF90
split-complementary
#5253CF #CF9052 #92CF52
monochromatic
#242582 #3133B2 #5253CF #8283DC #B2B2EA

Accessibility & contrast

On white

6.01
#5253CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5253CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253CF#FFFFFF#000000##FFFFFF
##5253CF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5253cf;
/* rgb */ color: rgb(82, 83, 207);
/* oklch */ color: oklch(51.5% 0.187 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f83df',
    500: '#5253cf',
    950: '#000000',
  },
}
SCSS
$custom: #5253cf;
$custom-light: #8f83df;
$custom-dark: #000000;
JSON
{
  "hex": "#5253cf",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 239.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.18684,
    "h": 277.2
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#5253CF
secondary
#D8D8A5
accent
#DF48E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5253CF

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

Preview Lab → · Contrast checker → · Palette generator →

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