#5247EA#5247EA

#5247EA is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.234 H 277.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5247EA
RGBrgb(82, 71, 234)
HSLhsl(244, 80%, 60%)
HSVhsv(244, 70%, 92%)
CMYKcmyk(65%, 69.7%, 0%, 8.2%)
CIE-LABlab(41.59, 51.99, -80.49)
CIE-LCHlch(41.59, 95.83, 302.86°)
OKLaboklab(51.87% 0.0302 -0.2324)
OKLCHoklch(51.87% 0.234 277.4)
XYZxyz(20.5794, 12.2391, 79.1038)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247EA #DFEA47
analogous
#478EEA #5247EA #A347EA
triadic
#5247EA #EA5247 #47EA52
tetradic
#5247EA #EA478E #DFEA47 #47EAA3
square
#5247EA #EA478E #DFEA47 #47EAA3
split-complementary
#5247EA #EAA347 #8EEA47
monochromatic
#1D13A4 #2619DB #5247EA #867EF0 #B9B5F7

Accessibility & contrast

On white

6.09
#5247EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5247EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247EA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247EA#FFFFFF#000000##FFFFFF
##5247EA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5247ea;
/* rgb */ color: rgb(82, 71, 234);
/* oklch */ color: oklch(51.9% 0.234 277.4);
Tailwind
colors: {
  custom: {
    50: '#947cf2',
    500: '#5247ea',
    950: '#000000',
  },
}
SCSS
$custom: #5247ea;
$custom-light: #947cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5247ea",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 244.049,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.23436,
    "h": 277.4
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#5247EA
secondary
#E2E6A7
accent
#F632E9
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5247EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5247EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva