#5253DF#5253DF

#5253DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.208 H 276.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5253DF
RGBrgb(82, 83, 223)
HSLhsl(240, 69%, 60%)
HSVhsv(240, 63%, 87%)
CMYKcmyk(63.2%, 62.8%, 0%, 12.5%)
CIE-LABlab(43.22, 41.57, -71.58)
CIE-LCHlch(43.22, 82.78, 300.15°)
OKLaboklab(52.76% 0.0227 -0.2063)
OKLCHoklch(52.76% 0.208 276.3)
XYZxyz(19.8879, 13.3064, 71.3181)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253DF #DFDE52
analogous
#529ADF #5253DF #9752DF
triadic
#5253DF #DF5253 #53DF52
tetradic
#5253DF #DF529A #DFDE52 #52DF97
square
#5253DF #DF529A #DFDE52 #52DF97
split-complementary
#5253DF #DF9752 #9ADF52
monochromatic
#1D1D9A #2627CE #5253DF #8686E9 #B9BAF2

Accessibility & contrast

On white

5.74
#5253DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5253DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253DF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253DF#FFFFFF#000000##FFFFFF
##5253DF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5253df;
/* rgb */ color: rgb(82, 83, 223);
/* oklch */ color: oklch(52.8% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#9284ea',
    500: '#5253df',
    950: '#000000',
  },
}
SCSS
$custom: #5253df;
$custom-light: #9284ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5253df",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 223
  },
  "hsl": {
    "h": 239.574,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.20754,
    "h": 276.3
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#5253DF
secondary
#E2E1AB
accent
#EA3CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5253DF

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

Preview Lab → · Contrast checker → · Palette generator →

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