#5247E0#5247E0

#5247E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.222 H 278.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5247E0
RGBrgb(82, 71, 224)
HSLhsl(244, 71%, 58%)
HSVhsv(244, 68%, 88%)
CMYKcmyk(63.4%, 68.3%, 0%, 12.2%)
CIE-LABlab(40.70, 48.88, -76.28)
CIE-LCHlch(40.70, 90.59, 302.65°)
OKLaboklab(50.96% 0.0317 -0.2201)
OKLCHoklch(50.96% 0.222 278.2)
XYZxyz(19.1831, 11.6806, 71.7502)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247E0 #D5E047
analogous
#4788E0 #5247E0 #9F47E0
triadic
#5247E0 #E05247 #47E052
tetradic
#5247E0 #E04788 #D5E047 #47E09F
square
#5247E0 #E04788 #D5E047 #47E09F
split-complementary
#5247E0 #E09F47 #88E047
monochromatic
#221994 #2E22C8 #5247E0 #837BE9 #B4B0F2

Accessibility & contrast

On white

6.29
#5247E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5247E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247E0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247E0#FFFFFF#000000##FFFFFF
##5247E01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5247e0;
/* rgb */ color: rgb(82, 71, 224);
/* oklch */ color: oklch(51.0% 0.222 278.2);
Tailwind
colors: {
  custom: {
    50: '#937ceb',
    500: '#5247e0',
    950: '#000000',
  },
}
SCSS
$custom: #5247e0;
$custom-light: #937ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5247e0",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 244.314,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.22233,
    "h": 278.2
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#5247E0
secondary
#DCE0A3
accent
#EE3AE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247E0

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

Preview Lab → · Contrast checker → · Palette generator →

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