#5248D9#5248D9

#5248D9 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.213 H 278.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5248D9
RGBrgb(82, 72, 217)
HSLhsl(244, 66%, 57%)
HSVhsv(244, 67%, 85%)
CMYKcmyk(62.2%, 66.8%, 0%, 14.9%)
CIE-LABlab(40.31, 46.11, -72.92)
CIE-LCHlch(40.31, 86.28, 302.30°)
OKLaboklab(50.48% 0.0319 -0.2102)
OKLCHoklch(50.48% 0.213 278.6)
XYZxyz(18.3174, 11.4369, 66.8745)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248D9 #CFD948
analogous
#4887D9 #5248D9 #9B48D9
triadic
#5248D9 #D95248 #48D952
tetradic
#5248D9 #D94887 #CFD948 #48D99B
square
#5248D9 #D94887 #CFD948 #48D99B
split-complementary
#5248D9 #D99B48 #87D948
monochromatic
#241D8A #3127BD #5248D9 #827BE4 #B2ADEE

Accessibility & contrast

On white

6.39
#5248D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5248D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248D9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248D9#FFFFFF#000000##FFFFFF
##5248D91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5248d9;
/* rgb */ color: rgb(82, 72, 217);
/* oklch */ color: oklch(50.5% 0.213 278.6);
Tailwind
colors: {
  custom: {
    50: '#917ce6',
    500: '#5248d9',
    950: '#000000',
  },
}
SCSS
$custom: #5248d9;
$custom-light: #917ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5248d9",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 244.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.21266,
    "h": 278.6
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#5248D9
secondary
#D8DCA1
accent
#E93FDD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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