#5247ED#5247ED

#5247ED is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.238 H 277.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5247ED
RGBrgb(82, 71, 237)
HSLhsl(244, 82%, 60%)
HSVhsv(244, 70%, 93%)
CMYKcmyk(65.4%, 70%, 0%, 7.1%)
CIE-LABlab(41.87, 52.92, -81.74)
CIE-LCHlch(41.87, 97.38, 302.92°)
OKLaboklab(52.14% 0.0297 -0.2361)
OKLCHoklch(52.14% 0.238 277.2)
XYZxyz(21.0140, 12.4129, 81.3929)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247ED #E2ED47
analogous
#478FED #5247ED #A547ED
triadic
#5247ED #ED5247 #47ED52
tetradic
#5247ED #ED478F #E2ED47 #47EDA5
square
#5247ED #ED478F #E2ED47 #47EDA5
split-complementary
#5247ED #EDA547 #8FED47
monochromatic
#1B11A9 #2316E1 #5247ED #867FF2 #BBB6F8

Accessibility & contrast

On white

6.03
#5247ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5247ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247ED
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247ED#FFFFFF#000000##FFFFFF
##5247ED1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF2
Deuteranopia (green-blind)
#005CEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5247ed;
/* rgb */ color: rgb(82, 71, 237);
/* oklch */ color: oklch(52.1% 0.238 277.2);
Tailwind
colors: {
  custom: {
    50: '#957cf4',
    500: '#5247ed',
    950: '#000000',
  },
}
SCSS
$custom: #5247ed;
$custom-light: #957cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5247ed",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 237
  },
  "hsl": {
    "h": 243.976,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.23792,
    "h": 277.2
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#5247ED
secondary
#E3E8A8
accent
#DF07D0
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5247ED

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

Preview Lab → · Contrast checker → · Palette generator →

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