#5249D9#5249D9

#5249D9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.6% C 0.212 H 278.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5249D9
RGBrgb(82, 73, 217)
HSLhsl(244, 65%, 57%)
HSVhsv(244, 66%, 85%)
CMYKcmyk(62.2%, 66.4%, 0%, 14.9%)
CIE-LABlab(40.52, 45.53, -72.58)
CIE-LCHlch(40.52, 85.68, 302.10°)
OKLaboklab(50.64% 0.0312 -0.2092)
OKLCHoklch(50.64% 0.212 278.5)
XYZxyz(18.3826, 11.5672, 66.8962)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D9 #D0D949
analogous
#4988D9 #5249D9 #9A49D9
triadic
#5249D9 #D95249 #49D952
tetradic
#5249D9 #D94988 #D0D949 #49D99A
square
#5249D9 #D94988 #D0D949 #49D99A
split-complementary
#5249D9 #D99A49 #88D949
monochromatic
#241D8B #3128BD #5249D9 #827CE4 #B2AEEE

Accessibility & contrast

On white

6.34
#5249D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5249D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D9#FFFFFF#000000##FFFFFF
##5249D91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5249d9;
/* rgb */ color: rgb(82, 73, 217);
/* oklch */ color: oklch(50.6% 0.212 278.5);
Tailwind
colors: {
  custom: {
    50: '#917de6',
    500: '#5249d9',
    950: '#000000',
  },
}
SCSS
$custom: #5249d9;
$custom-light: #917de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d9",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 243.75,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.21154,
    "h": 278.5
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#5249D9
secondary
#D9DCA2
accent
#E83FDE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249D9

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

Preview Lab → · Contrast checker → · Palette generator →

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