#5253F6#5253F6

#5253F6 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.236 H 275.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5253F6
RGBrgb(82, 83, 246)
HSLhsl(240, 90%, 64%)
HSVhsv(240, 67%, 96%)
CMYKcmyk(66.7%, 66.3%, 0%, 3.5%)
CIE-LABlab(45.13, 49.01, -81.45)
CIE-LCHlch(45.13, 95.06, 301.04°)
OKLaboklab(54.73% 0.0207 -0.2352)
OKLCHoklch(54.73% 0.236 275)
XYZxyz(23.2020, 14.6321, 88.7725)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5253F6 #F6F552
analogous
#52A5F6 #5253F6 #A352F6
triadic
#5253F6 #F65253 #53F652
tetradic
#5253F6 #F652A5 #F6F552 #52F6A3
square
#5253F6 #F652A5 #F6F552 #52F6A3
split-complementary
#5253F6 #F6A352 #A5F652
monochromatic
#0A0BC3 #1819F3 #5253F6 #8C8DF9 #C6C7FC

Accessibility & contrast

On white

5.35
#5253F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5253F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5253F6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5253F6#FFFFFF#000000##FFFFFF
##5253F61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FB
Deuteranopia (green-blind)
#0063F3
Tritanopia (blue-blind)
#007E9E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5253f6;
/* rgb */ color: rgb(82, 83, 246);
/* oklch */ color: oklch(54.7% 0.236 275.0);
Tailwind
colors: {
  custom: {
    50: '#9684fa',
    500: '#5253f6',
    950: '#000000',
  },
}
SCSS
$custom: #5253f6;
$custom-light: #9684fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5253f6",
  "rgb": {
    "r": 82,
    "g": 83,
    "b": 246
  },
  "hsl": {
    "h": 239.634,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.23611,
    "h": 275
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#5253F6
secondary
#EEEEB5
accent
#E400E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5253F6

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

Preview Lab → · Contrast checker → · Palette generator →

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