#5247DC#5247DC

#5247DC is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.217 H 278.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5247DC
RGBrgb(82, 71, 220)
HSLhsl(244, 68%, 57%)
HSVhsv(244, 68%, 86%)
CMYKcmyk(62.7%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.35, 47.62, -74.56)
CIE-LCHlch(40.35, 88.47, 302.57°)
OKLaboklab(50.6% 0.0323 -0.215)
OKLCHoklch(50.6% 0.217 278.5)
XYZxyz(18.6470, 11.4661, 68.9268)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247DC #D1DC47
analogous
#4786DC #5247DC #9D47DC
triadic
#5247DC #DC5247 #47DC52
tetradic
#5247DC #DC4786 #D1DC47 #47DC9D
square
#5247DC #DC4786 #D1DC47 #47DC9D
split-complementary
#5247DC #DC9D47 #86DC47
monochromatic
#231B8E #3025C1 #5247DC #827AE6 #B3AEF0

Accessibility & contrast

On white

6.38
#5247DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5247DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247DC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247DC#FFFFFF#000000##FFFFFF
##5247DC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5247dc;
/* rgb */ color: rgb(82, 71, 220);
/* oklch */ color: oklch(50.6% 0.217 278.5);
Tailwind
colors: {
  custom: {
    50: '#927ce8',
    500: '#5247dc',
    950: '#000000',
  },
}
SCSS
$custom: #5247dc;
$custom-light: #927ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5247dc",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 244.43,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.21746,
    "h": 278.5
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#5247DC
secondary
#D9DEA1
accent
#EB3DDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247DC

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

Preview Lab → · Contrast checker → · Palette generator →

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