#5248D7#5248D7

#5248D7 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.210 H 278.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5248D7
RGBrgb(82, 72, 215)
HSLhsl(244, 64%, 56%)
HSVhsv(244, 67%, 84%)
CMYKcmyk(61.9%, 66.5%, 0%, 15.7%)
CIE-LABlab(40.14, 45.48, -72.06)
CIE-LCHlch(40.14, 85.21, 302.26°)
OKLaboklab(50.31% 0.0322 -0.2077)
OKLCHoklch(50.31% 0.21 278.8)
XYZxyz(18.0589, 11.3335, 65.5127)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248D7 #CDD748
analogous
#4886D7 #5248D7 #9A48D7
triadic
#5248D7 #D75248 #48D752
tetradic
#5248D7 #D74886 #CDD748 #48D79A
square
#5248D7 #D74886 #CDD748 #48D79A
split-complementary
#5248D7 #D79A48 #86D748
monochromatic
#251E87 #3329B9 #5248D7 #817AE2 #B1ACED

Accessibility & contrast

On white

6.43
#5248D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5248D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248D7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248D7#FFFFFF#000000##FFFFFF
##5248D71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5248d7;
/* rgb */ color: rgb(82, 72, 215);
/* oklch */ color: oklch(50.3% 0.210 278.8);
Tailwind
colors: {
  custom: {
    50: '#917ce4',
    500: '#5248d7',
    950: '#000000',
  },
}
SCSS
$custom: #5248d7;
$custom-light: #917ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5248d7",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 244.196,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.21019,
    "h": 278.8
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#5248D7
secondary
#D7DBA0
accent
#E741DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5248D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva