#5249E2#5249E2

#5249E2 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.223 H 277.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5249E2
RGBrgb(82, 73, 226)
HSLhsl(244, 73%, 59%)
HSVhsv(244, 68%, 89%)
CMYKcmyk(63.7%, 67.7%, 0%, 11.4%)
CIE-LABlab(41.29, 48.37, -76.45)
CIE-LCHlch(41.29, 90.47, 302.32°)
OKLaboklab(51.43% 0.03 -0.2206)
OKLCHoklch(51.43% 0.223 277.7)
XYZxyz(19.5852, 12.0483, 73.2302)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249E2 #D9E249
analogous
#498CE2 #5249E2 #9E49E2
triadic
#5249E2 #E25249 #49E252
tetradic
#5249E2 #E2498C #D9E249 #49E29E
square
#5249E2 #E2498C #D9E249 #49E29E
split-complementary
#5249E2 #E29E49 #8CE249
monochromatic
#201898 #2B21CD #5249E2 #847EEA #B6B3F3

Accessibility & contrast

On white

6.16
#5249E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5249E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249E2#FFFFFF#000000##FFFFFF
##5249E21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5249e2;
/* rgb */ color: rgb(82, 73, 226);
/* oklch */ color: oklch(51.4% 0.223 277.7);
Tailwind
colors: {
  custom: {
    50: '#937dec',
    500: '#5249e2',
    950: '#000000',
  },
}
SCSS
$custom: #5249e2;
$custom-light: #937dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5249e2",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 243.529,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.2226,
    "h": 277.7
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#5249E2
secondary
#DEE2A5
accent
#EF39E4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5249E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5249E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva