#5249D7#5249D7

#5249D7 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.5% C 0.209 H 278.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5249D7
RGBrgb(82, 73, 215)
HSLhsl(244, 64%, 56%)
HSVhsv(244, 66%, 84%)
CMYKcmyk(61.9%, 66%, 0%, 15.7%)
CIE-LABlab(40.35, 44.90, -71.71)
CIE-LCHlch(40.35, 84.60, 302.05°)
OKLaboklab(50.46% 0.0314 -0.2067)
OKLCHoklch(50.46% 0.209 278.6)
XYZxyz(18.1240, 11.4638, 65.5345)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D7 #CED749
analogous
#4987D7 #5249D7 #9949D7
triadic
#5249D7 #D75249 #49D752
tetradic
#5249D7 #D74987 #CED749 #49D799
square
#5249D7 #D74987 #CED749 #49D799
split-complementary
#5249D7 #D79949 #87D749
monochromatic
#251E88 #3229BA #5249D7 #827BE2 #B1ADED

Accessibility & contrast

On white

6.38
#5249D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5249D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D7#FFFFFF#000000##FFFFFF
##5249D71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5249d7;
/* rgb */ color: rgb(82, 73, 215);
/* oklch */ color: oklch(50.5% 0.209 278.6);
Tailwind
colors: {
  custom: {
    50: '#917de4',
    500: '#5249d7',
    950: '#000000',
  },
}
SCSS
$custom: #5249d7;
$custom-light: #917de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d7",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 243.803,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.20905,
    "h": 278.6
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#5249D7
secondary
#D7DBA1
accent
#E741DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249D7

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

Preview Lab → · Contrast checker → · Palette generator →

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