#5249D5#5249D5

#5249D5 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.3% C 0.207 H 278.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5249D5
RGBrgb(82, 73, 213)
HSLhsl(244, 63%, 56%)
HSVhsv(244, 66%, 84%)
CMYKcmyk(61.5%, 65.7%, 0%, 16.5%)
CIE-LABlab(40.18, 44.26, -70.83)
CIE-LCHlch(40.18, 83.52, 302.00°)
OKLaboklab(50.29% 0.0316 -0.2041)
OKLCHoklch(50.29% 0.207 278.8)
XYZxyz(17.8686, 11.3617, 64.1893)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D5 #CCD549
analogous
#4986D5 #5249D5 #9849D5
triadic
#5249D5 #D55249 #49D552
tetradic
#5249D5 #D54986 #CCD549 #49D598
square
#5249D5 #D54986 #CCD549 #49D598
split-complementary
#5249D5 #D59849 #86D549
monochromatic
#251F85 #332AB7 #5249D5 #817BE0 #B1ACEC

Accessibility & contrast

On white

6.42
#5249D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5249D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D5#FFFFFF#000000##FFFFFF
##5249D51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5249d5;
/* rgb */ color: rgb(82, 73, 213);
/* oklch */ color: oklch(50.3% 0.207 278.8);
Tailwind
colors: {
  custom: {
    50: '#917de3',
    500: '#5249d5',
    950: '#000000',
  },
}
SCSS
$custom: #5249d5;
$custom-light: #917de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d5",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 243.857,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.20655,
    "h": 278.8
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#5249D5
secondary
#D6DAA0
accent
#E642DB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249D5

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

Preview Lab → · Contrast checker → · Palette generator →

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