#5248D8#5248D8

#5248D8 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.211 H 278.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5248D8
RGBrgb(82, 72, 216)
HSLhsl(244, 65%, 56%)
HSVhsv(244, 67%, 85%)
CMYKcmyk(62%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.22, 45.79, -72.49)
CIE-LCHlch(40.22, 85.74, 302.28°)
OKLaboklab(50.4% 0.032 -0.209)
OKLCHoklch(50.4% 0.211 278.7)
XYZxyz(18.1877, 11.3850, 66.1915)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248D8 #CED848
analogous
#4886D8 #5248D8 #9A48D8
triadic
#5248D8 #D85248 #48D852
tetradic
#5248D8 #D84886 #CED848 #48D89A
square
#5248D8 #D84886 #CED848 #48D89A
split-complementary
#5248D8 #D89A48 #86D848
monochromatic
#251D89 #3228BB #5248D8 #827AE3 #B1ADEE

Accessibility & contrast

On white

6.41
#5248D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5248D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248D8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248D8#FFFFFF#000000##FFFFFF
##5248D81.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5248d8;
/* rgb */ color: rgb(82, 72, 216);
/* oklch */ color: oklch(50.4% 0.211 278.7);
Tailwind
colors: {
  custom: {
    50: '#917ce5',
    500: '#5248d8',
    950: '#000000',
  },
}
SCSS
$custom: #5248d8;
$custom-light: #917ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5248d8",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 244.167,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.21142,
    "h": 278.7
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5248D8

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

Preview Lab → · Contrast checker → · Palette generator →

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