#5247E5#5247E5

#5247E5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.228 H 277.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5247E5
RGBrgb(82, 71, 229)
HSLhsl(244, 75%, 59%)
HSVhsv(244, 69%, 90%)
CMYKcmyk(64.2%, 69%, 0%, 10.2%)
CIE-LABlab(41.15, 50.44, -78.40)
CIE-LCHlch(41.15, 93.22, 302.76°)
OKLaboklab(51.41% 0.031 -0.2263)
OKLCHoklch(51.41% 0.228 277.8)
XYZxyz(19.8712, 11.9558, 75.3741)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247E5 #DAE547
analogous
#478BE5 #5247E5 #A147E5
triadic
#5247E5 #E55247 #47E552
tetradic
#5247E5 #E5478B #DAE547 #47E5A1
square
#5247E5 #E5478B #DAE547 #47E5A1
split-complementary
#5247E5 #E5A147 #8BE547
monochromatic
#1F169C #2A1ED1 #5247E5 #847DED #B7B2F4

Accessibility & contrast

On white

6.19
#5247E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5247E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247E5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247E5#FFFFFF#000000##FFFFFF
##5247E51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5247e5;
/* rgb */ color: rgb(82, 71, 229);
/* oklch */ color: oklch(51.4% 0.228 277.8);
Tailwind
colors: {
  custom: {
    50: '#947cee',
    500: '#5247e5',
    950: '#000000',
  },
}
SCSS
$custom: #5247e5;
$custom-light: #947cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5247e5",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 244.177,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.22838,
    "h": 277.8
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#5247E5
secondary
#DFE3A5
accent
#F236E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #5247E5

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

Preview Lab → · Contrast checker → · Palette generator →

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