#5247D2#5247D2

#5247D2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.7% C 0.205 H 279.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5247D2
RGBrgb(82, 71, 210)
HSLhsl(245, 61%, 55%)
HSVhsv(245, 66%, 82%)
CMYKcmyk(61%, 66.2%, 0%, 17.6%)
CIE-LABlab(39.50, 44.48, -70.22)
CIE-LCHlch(39.50, 83.12, 302.35°)
OKLaboklab(49.72% 0.0336 -0.2023)
OKLCHoklch(49.72% 0.205 279.4)
XYZxyz(17.3621, 10.9522, 62.1593)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247D2 #C7D247
analogous
#4782D2 #5247D2 #9747D2
triadic
#5247D2 #D25247 #47D252
tetradic
#5247D2 #D24782 #C7D247 #47D297
square
#5247D2 #D24782 #C7D247 #47D297
split-complementary
#5247D2 #D29747 #82D247
monochromatic
#271F7F #362BB1 #5247D2 #8078DE #AEA9EA

Accessibility & contrast

On white

6.58
#5247D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5247D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247D2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247D2#FFFFFF#000000##FFFFFF
##5247D21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5247d2;
/* rgb */ color: rgb(82, 71, 210);
/* oklch */ color: oklch(49.7% 0.205 279.4);
Tailwind
colors: {
  custom: {
    50: '#907be1',
    500: '#5247d2',
    950: '#000000',
  },
}
SCSS
$custom: #5247d2;
$custom-light: #907be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5247d2",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 244.748,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.2051,
    "h": 279.4
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#5247D2
secondary
#D3D89D
accent
#E444D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5247D2

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

Preview Lab → · Contrast checker → · Palette generator →

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