#5249DC#5249DC

#5249DC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.215 H 278.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5249DC
RGBrgb(82, 73, 220)
HSLhsl(244, 68%, 57%)
HSVhsv(244, 67%, 86%)
CMYKcmyk(62.7%, 66.8%, 0%, 13.7%)
CIE-LABlab(40.78, 46.48, -73.87)
CIE-LCHlch(40.78, 87.28, 302.18°)
OKLaboklab(50.9% 0.0308 -0.213)
OKLCHoklch(50.9% 0.215 278.2)
XYZxyz(18.7763, 11.7247, 68.9699)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249DC #D3DC49
analogous
#498ADC #5249DC #9B49DC
triadic
#5249DC #DC5249 #49DC52
tetradic
#5249DC #DC498A #D3DC49 #49DC9B
square
#5249DC #DC498A #D3DC49 #49DC9B
split-complementary
#5249DC #DC9B49 #8ADC49
monochromatic
#231C8F #2F25C2 #5249DC #837CE6 #B4B0F0

Accessibility & contrast

On white

6.28
#5249DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5249DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249DC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249DC#FFFFFF#000000##FFFFFF
##5249DC1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5249dc;
/* rgb */ color: rgb(82, 73, 220);
/* oklch */ color: oklch(50.9% 0.215 278.2);
Tailwind
colors: {
  custom: {
    50: '#927de8',
    500: '#5249dc',
    950: '#000000',
  },
}
SCSS
$custom: #5249dc;
$custom-light: #927de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5249dc",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 243.673,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.21524,
    "h": 278.2
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#5249DC
secondary
#DADEA3
accent
#EB3DE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249DC

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

Preview Lab → · Contrast checker → · Palette generator →

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