#5247DE#5247DE

#5247DE is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.220 H 278.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5247DE
RGBrgb(82, 71, 222)
HSLhsl(244, 70%, 57%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(63.1%, 68%, 0%, 12.9%)
CIE-LABlab(40.53, 48.25, -75.42)
CIE-LCHlch(40.53, 89.54, 302.61°)
OKLaboklab(50.78% 0.032 -0.2176)
OKLCHoklch(50.78% 0.22 278.4)
XYZxyz(18.9135, 11.5727, 70.3301)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247DE #D3DE47
analogous
#4787DE #5247DE #9E47DE
triadic
#5247DE #DE5247 #47DE52
tetradic
#5247DE #DE4787 #D3DE47 #47DE9E
square
#5247DE #DE4787 #D3DE47 #47DE9E
split-complementary
#5247DE #DE9E47 #87DE47
monochromatic
#231A91 #2F23C5 #5247DE #837BE7 #B4AFF1

Accessibility & contrast

On white

6.34
#5247DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5247DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247DE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247DE#FFFFFF#000000##FFFFFF
##5247DE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5247de;
/* rgb */ color: rgb(82, 71, 222);
/* oklch */ color: oklch(50.8% 0.220 278.4);
Tailwind
colors: {
  custom: {
    50: '#927ce9',
    500: '#5247de',
    950: '#000000',
  },
}
SCSS
$custom: #5247de;
$custom-light: #927ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5247de",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 244.371,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.2199,
    "h": 278.4
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#5247DE
secondary
#DADFA2
accent
#EC3BDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247DE

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

Preview Lab → · Contrast checker → · Palette generator →

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