#5246D6#5246D6

#5246D6 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.211 H 279.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5246D6
RGBrgb(82, 70, 214)
HSLhsl(245, 64%, 56%)
HSVhsv(245, 67%, 84%)
CMYKcmyk(61.7%, 67.3%, 0%, 16.1%)
CIE-LABlab(39.63, 46.31, -72.32)
CIE-LCHlch(39.63, 85.87, 302.64°)
OKLaboklab(49.92% 0.0338 -0.2085)
OKLCHoklch(49.92% 0.211 279.2)
XYZxyz(17.8036, 11.0278, 64.7957)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246D6 #CAD646
analogous
#4682D6 #5246D6 #9A46D6
triadic
#5246D6 #D65246 #46D652
tetradic
#5246D6 #D64682 #CAD646 #46D69A
square
#5246D6 #D64682 #CAD646 #46D69A
split-complementary
#5246D6 #D69A46 #82D646
monochromatic
#261D84 #3428B6 #5246D6 #8178E1 #B0AAEC

Accessibility & contrast

On white

6.55
#5246D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5246D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5246D6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246D6#FFFFFF#000000##FFFFFF
##5246D61.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5246d6;
/* rgb */ color: rgb(82, 70, 214);
/* oklch */ color: oklch(49.9% 0.211 279.2);
Tailwind
colors: {
  custom: {
    50: '#917be4',
    500: '#5246d6',
    950: '#000000',
  },
}
SCSS
$custom: #5246d6;
$custom-light: #917be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5246d6",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 245,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.2112,
    "h": 279.2
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#5246D6
secondary
#D5DA9E
accent
#E741D9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5246D6

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

Preview Lab → · Contrast checker → · Palette generator →

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