#5247D7#5247D7

#5247D7 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.211 H 279.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5247D7
RGBrgb(82, 71, 215)
HSLhsl(245, 64%, 56%)
HSVhsv(245, 67%, 84%)
CMYKcmyk(61.9%, 67%, 0%, 15.7%)
CIE-LABlab(39.92, 46.05, -72.40)
CIE-LCHlch(39.92, 85.81, 302.46°)
OKLaboklab(50.16% 0.0329 -0.2087)
OKLCHoklch(50.16% 0.211 279)
XYZxyz(17.9947, 11.2052, 65.4914)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247D7 #CCD747
analogous
#4784D7 #5247D7 #9A47D7
triadic
#5247D7 #D75247 #47D752
tetradic
#5247D7 #D74784 #CCD747 #47D79A
square
#5247D7 #D74784 #CCD747 #47D79A
split-complementary
#5247D7 #D79A47 #84D747
monochromatic
#251D86 #3328B9 #5247D7 #8179E2 #B1ACED

Accessibility & contrast

On white

6.48
#5247D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5247D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247D7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247D7#FFFFFF#000000##FFFFFF
##5247D71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5247d7;
/* rgb */ color: rgb(82, 71, 215);
/* oklch */ color: oklch(50.2% 0.211 279.0);
Tailwind
colors: {
  custom: {
    50: '#917be4',
    500: '#5247d7',
    950: '#000000',
  },
}
SCSS
$custom: #5247d7;
$custom-light: #917be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5247d7",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 244.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.21131,
    "h": 279
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#5247D7
secondary
#D6DB9F
accent
#E741DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5247D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva