#5247DD#5247DD

#5247DD is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.219 H 278.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5247DD
RGBrgb(82, 71, 221)
HSLhsl(244, 69%, 57%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(62.9%, 67.9%, 0%, 13.3%)
CIE-LABlab(40.44, 47.94, -74.99)
CIE-LCHlch(40.44, 89.01, 302.59°)
OKLaboklab(50.69% 0.0321 -0.2163)
OKLCHoklch(50.69% 0.219 278.4)
XYZxyz(18.7799, 11.5193, 69.6264)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247DD #D2DD47
analogous
#4787DD #5247DD #9D47DD
triadic
#5247DD #DD5247 #47DD52
tetradic
#5247DD #DD4787 #D2DD47 #47DD9D
square
#5247DD #DD4787 #D2DD47 #47DD9D
split-complementary
#5247DD #DD9D47 #87DD47
monochromatic
#231A8F #3024C3 #5247DD #837BE7 #B3AEF0

Accessibility & contrast

On white

6.36
#5247DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5247DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247DD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247DD#FFFFFF#000000##FFFFFF
##5247DD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5247dd;
/* rgb */ color: rgb(82, 71, 221);
/* oklch */ color: oklch(50.7% 0.219 278.4);
Tailwind
colors: {
  custom: {
    50: '#927ce9',
    500: '#5247dd',
    950: '#000000',
  },
}
SCSS
$custom: #5247dd;
$custom-light: #927ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5247dd",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 244.4,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.21868,
    "h": 278.4
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#5247DD
secondary
#DADEA2
accent
#EC3CDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5247DD

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

Preview Lab → · Contrast checker → · Palette generator →

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