#5246E9#5246E9

#5246E9 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.234 H 277.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5246E9
RGBrgb(82, 70, 233)
HSLhsl(244, 79%, 59%)
HSVhsv(244, 70%, 91%)
CMYKcmyk(64.8%, 70%, 0%, 8.6%)
CIE-LABlab(41.30, 52.23, -80.40)
CIE-LCHlch(41.30, 95.88, 303.01°)
OKLaboklab(51.63% 0.031 -0.2321)
OKLCHoklch(51.63% 0.234 277.6)
XYZxyz(20.3731, 12.0556, 78.3283)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246E9 #DDE946
analogous
#468CE9 #5246E9 #A446E9
triadic
#5246E9 #E95246 #46E952
tetradic
#5246E9 #E9468C #DDE946 #46E9A4
square
#5246E9 #E9468C #DDE946 #46E9A4
split-complementary
#5246E9 #E9A446 #8CE946
monochromatic
#1E13A1 #281AD8 #5246E9 #857DF0 #B8B3F6

Accessibility & contrast

On white

6.16
#5246E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5246E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246E9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246E9#FFFFFF#000000##FFFFFF
##5246E91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#005BE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5246e9;
/* rgb */ color: rgb(82, 70, 233);
/* oklch */ color: oklch(51.6% 0.234 277.6);
Tailwind
colors: {
  custom: {
    50: '#947bf1',
    500: '#5246e9',
    950: '#000000',
  },
}
SCSS
$custom: #5246e9;
$custom-light: #947bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5246e9",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 244.417,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.2342,
    "h": 277.6
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#5246E9
secondary
#E0E5A6
accent
#F533E7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5246E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5246E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva