#5249D6#5249D6

#5249D6 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.208 H 278.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5249D6
RGBrgb(82, 73, 214)
HSLhsl(244, 63%, 56%)
HSVhsv(244, 66%, 84%)
CMYKcmyk(61.7%, 65.9%, 0%, 16.1%)
CIE-LABlab(40.27, 44.58, -71.27)
CIE-LCHlch(40.27, 84.06, 302.03°)
OKLaboklab(50.38% 0.0315 -0.2054)
OKLCHoklch(50.38% 0.208 278.7)
XYZxyz(17.9959, 11.4126, 64.8598)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D6 #CDD649
analogous
#4987D6 #5249D6 #9949D6
triadic
#5249D6 #D65249 #49D652
tetradic
#5249D6 #D64987 #CDD649 #49D699
square
#5249D6 #D64987 #CDD649 #49D699
split-complementary
#5249D6 #D69949 #87D649
monochromatic
#251E86 #332AB8 #5249D6 #817BE1 #B1ADED

Accessibility & contrast

On white

6.40
#5249D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5249D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D6#FFFFFF#000000##FFFFFF
##5249D61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5249d6;
/* rgb */ color: rgb(82, 73, 214);
/* oklch */ color: oklch(50.4% 0.208 278.7);
Tailwind
colors: {
  custom: {
    50: '#917de4',
    500: '#5249d6',
    950: '#000000',
  },
}
SCSS
$custom: #5249d6;
$custom-light: #917de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d6",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 243.83,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.2078,
    "h": 278.7
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#5249D6
secondary
#D7DAA0
accent
#E642DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249D6

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

Preview Lab → · Contrast checker → · Palette generator →

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