#5249DA#5249DA

#5249DA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.213 H 278.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5249DA
RGBrgb(82, 73, 218)
HSLhsl(244, 66%, 57%)
HSVhsv(244, 67%, 85%)
CMYKcmyk(62.4%, 66.5%, 0%, 14.5%)
CIE-LABlab(40.60, 45.85, -73.01)
CIE-LCHlch(40.60, 86.21, 302.13°)
OKLaboklab(50.73% 0.031 -0.2105)
OKLCHoklch(50.73% 0.213 278.4)
XYZxyz(18.5130, 11.6194, 67.5833)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249DA #D1DA49
analogous
#4989DA #5249DA #9B49DA
triadic
#5249DA #DA5249 #49DA52
tetradic
#5249DA #DA4989 #D1DA49 #49DA9B
square
#5249DA #DA4989 #D1DA49 #49DA9B
split-complementary
#5249DA #DA9B49 #89DA49
monochromatic
#231C8C #3027BF #5249DA #827CE4 #B3AFEF

Accessibility & contrast

On white

6.32
#5249DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5249DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249DA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249DA#FFFFFF#000000##FFFFFF
##5249DA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5249da;
/* rgb */ color: rgb(82, 73, 218);
/* oklch */ color: oklch(50.7% 0.213 278.4);
Tailwind
colors: {
  custom: {
    50: '#917de7',
    500: '#5249da',
    950: '#000000',
  },
}
SCSS
$custom: #5249da;
$custom-light: #917de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5249da",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 243.724,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.21277,
    "h": 278.4
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#5249DA
secondary
#D9DDA2
accent
#E93FDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249DA

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

Preview Lab → · Contrast checker → · Palette generator →

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