#5248D5#5248D5

#5248D5 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.208 H 279.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5248D5
RGBrgb(82, 72, 213)
HSLhsl(244, 63%, 56%)
HSVhsv(244, 66%, 84%)
CMYKcmyk(61.5%, 66.2%, 0%, 16.5%)
CIE-LABlab(39.97, 44.84, -71.18)
CIE-LCHlch(39.97, 84.13, 302.21°)
OKLaboklab(50.14% 0.0324 -0.2051)
OKLCHoklch(50.14% 0.208 279)
XYZxyz(17.8034, 11.2313, 64.1676)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248D5 #CBD548
analogous
#4884D5 #5248D5 #9848D5
triadic
#5248D5 #D55248 #48D552
tetradic
#5248D5 #D54884 #CBD548 #48D598
square
#5248D5 #D54884 #CBD548 #48D598
split-complementary
#5248D5 #D59848 #84D548
monochromatic
#261E84 #342AB6 #5248D5 #817AE0 #B0ACEC

Accessibility & contrast

On white

6.47
#5248D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5248D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248D5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248D5#FFFFFF#000000##FFFFFF
##5248D51.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5248d5;
/* rgb */ color: rgb(82, 72, 213);
/* oklch */ color: oklch(50.1% 0.208 279.0);
Tailwind
colors: {
  custom: {
    50: '#917ce3',
    500: '#5248d5',
    950: '#000000',
  },
}
SCSS
$custom: #5248d5;
$custom-light: #917ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#5248d5",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 244.255,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.20769,
    "h": 279
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#5248D5
secondary
#D5DA9F
accent
#E642DA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5248D5

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

Preview Lab → · Contrast checker → · Palette generator →

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