#5246D9#5246D9

#5246D9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.215 H 278.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5246D9
RGBrgb(82, 70, 217)
HSLhsl(245, 66%, 56%)
HSVhsv(245, 68%, 85%)
CMYKcmyk(62.2%, 67.7%, 0%, 14.9%)
CIE-LABlab(39.89, 47.25, -73.61)
CIE-LCHlch(39.89, 87.47, 302.70°)
OKLaboklab(50.18% 0.0334 -0.2123)
OKLCHoklch(50.18% 0.215 278.9)
XYZxyz(18.1902, 11.1825, 66.8321)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D9 #CDD946
analogous
#4684D9 #5246D9 #9C46D9
triadic
#5246D9 #D95246 #46D952
tetradic
#5246D9 #D94684 #CDD946 #46D99C
square
#5246D9 #D94684 #CDD946 #46D99C
split-complementary
#5246D9 #D99C46 #84D946
monochromatic
#251C89 #3326BB #5246D9 #8179E3 #B1ACEE

Accessibility & contrast

On white

6.49
#5246D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5246D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246D9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246D9#FFFFFF#000000##FFFFFF
##5246D91.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5246d9;
/* rgb */ color: rgb(82, 70, 217);
/* oklch */ color: oklch(50.2% 0.215 278.9);
Tailwind
colors: {
  custom: {
    50: '#917be6',
    500: '#5246d9',
    950: '#000000',
  },
}
SCSS
$custom: #5246d9;
$custom-light: #917be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d9",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 244.898,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.21489,
    "h": 278.9
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#5246D9
secondary
#D7DC9F
accent
#E93FDB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246D9

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

Preview Lab → · Contrast checker → · Palette generator →

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