#5248E1#5248E1

#5248E1 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.222 H 278.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5248E1
RGBrgb(82, 72, 225)
HSLhsl(244, 72%, 58%)
HSVhsv(244, 68%, 88%)
CMYKcmyk(63.6%, 68%, 0%, 11.8%)
CIE-LABlab(41.00, 48.63, -76.36)
CIE-LCHlch(41.00, 90.53, 302.49°)
OKLaboklab(51.19% 0.0309 -0.2203)
OKLCHoklch(51.19% 0.222 278)
XYZxyz(19.3833, 11.8632, 72.4879)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248E1 #D7E148
analogous
#488AE1 #5248E1 #9F48E1
triadic
#5248E1 #E15248 #48E152
tetradic
#5248E1 #E1488A #D7E148 #48E19F
square
#5248E1 #E1488A #D7E148 #48E19F
split-complementary
#5248E1 #E19F48 #8AE148
monochromatic
#211996 #2C21CB #5248E1 #847DEA #B5B1F2

Accessibility & contrast

On white

6.23
#5248E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5248E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248E1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248E1#FFFFFF#000000##FFFFFF
##5248E11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5248e1;
/* rgb */ color: rgb(82, 72, 225);
/* oklch */ color: oklch(51.2% 0.222 278.0);
Tailwind
colors: {
  custom: {
    50: '#937cec',
    500: '#5248e1',
    950: '#000000',
  },
}
SCSS
$custom: #5248e1;
$custom-light: #937cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5248e1",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 243.922,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.22247,
    "h": 278
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#5248E1
secondary
#DDE1A4
accent
#EF39E3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5248E1

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

Preview Lab → · Contrast checker → · Palette generator →

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