#5248D2#5248D2

#5248D2 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.204 H 279.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5248D2
RGBrgb(82, 72, 210)
HSLhsl(244, 61%, 55%)
HSVhsv(244, 66%, 82%)
CMYKcmyk(61%, 65.7%, 0%, 17.6%)
CIE-LABlab(39.72, 43.89, -69.87)
CIE-LCHlch(39.72, 82.51, 302.14°)
OKLaboklab(49.88% 0.0328 -0.2013)
OKLCHoklch(49.88% 0.204 279.2)
XYZxyz(17.4262, 11.0804, 62.1807)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248D2 #C8D248
analogous
#4883D2 #5248D2 #9748D2
triadic
#5248D2 #D25248 #48D252
tetradic
#5248D2 #D24883 #C8D248 #48D297
square
#5248D2 #D24883 #C8D248 #48D297
split-complementary
#5248D2 #D29748 #83D248
monochromatic
#272080 #352CB1 #5248D2 #8079DE #AFAAEA

Accessibility & contrast

On white

6.53
#5248D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5248D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248D2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248D2#FFFFFF#000000##FFFFFF
##5248D21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5248d2;
/* rgb */ color: rgb(82, 72, 210);
/* oklch */ color: oklch(49.9% 0.204 279.2);
Tailwind
colors: {
  custom: {
    50: '#907ce1',
    500: '#5248d2',
    950: '#000000',
  },
}
SCSS
$custom: #5248d2;
$custom-light: #907ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5248d2",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 244.348,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.20395,
    "h": 279.2
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#5248D2
secondary
#D4D89E
accent
#E444D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5248D2

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

Preview Lab → · Contrast checker → · Palette generator →

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