#5247D3#5247D3

#5247D3 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.206 H 279.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5247D3
RGBrgb(82, 71, 211)
HSLhsl(245, 61%, 55%)
HSVhsv(245, 66%, 83%)
CMYKcmyk(61.1%, 66.4%, 0%, 17.3%)
CIE-LABlab(39.58, 44.79, -70.66)
CIE-LCHlch(39.58, 83.66, 302.37°)
OKLaboklab(49.81% 0.0334 -0.2036)
OKLCHoklch(49.81% 0.206 279.3)
XYZxyz(17.4870, 11.0021, 62.8175)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5247D3 #C8D347
analogous
#4782D3 #5247D3 #9847D3
triadic
#5247D3 #D35247 #47D352
tetradic
#5247D3 #D34782 #C8D347 #47D398
square
#5247D3 #D34782 #C8D347 #47D398
split-complementary
#5247D3 #D39847 #82D347
monochromatic
#261F81 #352BB2 #5247D3 #8078DF #AFAAEB

Accessibility & contrast

On white

6.56
#5247D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5247D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5247D3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5247D3#FFFFFF#000000##FFFFFF
##5247D31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5247d3;
/* rgb */ color: rgb(82, 71, 211);
/* oklch */ color: oklch(49.8% 0.206 279.3);
Tailwind
colors: {
  custom: {
    50: '#907be2',
    500: '#5247d3',
    950: '#000000',
  },
}
SCSS
$custom: #5247d3;
$custom-light: #907be2;
$custom-dark: #000000;
JSON
{
  "hex": "#5247d3",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 244.714,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.20635,
    "h": 279.3
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#5247D3
secondary
#D4D89E
accent
#E543D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5247D3

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

Preview Lab → · Contrast checker → · Palette generator →

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