#5248E7#5248E7

#5248E7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.230 H 277.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5248E7
RGBrgb(82, 72, 231)
HSLhsl(244, 77%, 59%)
HSVhsv(244, 69%, 91%)
CMYKcmyk(64.5%, 68.8%, 0%, 9.4%)
CIE-LABlab(41.53, 50.50, -78.91)
CIE-LCHlch(41.53, 93.68, 302.62°)
OKLaboklab(51.74% 0.03 -0.2278)
OKLCHoklch(51.74% 0.23 277.5)
XYZxyz(20.2162, 12.1964, 76.8746)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5248E7 #DDE748
analogous
#488DE7 #5248E7 #A248E7
triadic
#5248E7 #E75248 #48E752
tetradic
#5248E7 #E7488D #DDE748 #48E7A2
square
#5248E7 #E7488D #DDE748 #48E7A2
split-complementary
#5248E7 #E7A248 #8DE748
monochromatic
#1E15A0 #281CD6 #5248E7 #857EEE #B8B4F5

Accessibility & contrast

On white

6.11
#5248E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5248E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5248E7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5248E7#FFFFFF#000000##FFFFFF
##5248E71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5248e7;
/* rgb */ color: rgb(82, 72, 231);
/* oklch */ color: oklch(51.7% 0.230 277.5);
Tailwind
colors: {
  custom: {
    50: '#947cf0',
    500: '#5248e7',
    950: '#000000',
  },
}
SCSS
$custom: #5248e7;
$custom-light: #947cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5248e7",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 243.774,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.22972,
    "h": 277.5
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#5248E7
secondary
#E0E4A6
accent
#F334E7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5248E7

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

Preview Lab → · Contrast checker → · Palette generator →

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