#5249D2#5249D2

#5249D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.0% C 0.203 H 279.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5249D2
RGBrgb(82, 73, 210)
HSLhsl(244, 60%, 55%)
HSVhsv(244, 65%, 82%)
CMYKcmyk(61%, 65.2%, 0%, 17.6%)
CIE-LABlab(39.93, 43.31, -69.51)
CIE-LCHlch(39.93, 81.90, 301.92°)
OKLaboklab(50.03% 0.032 -0.2002)
OKLCHoklch(50.03% 0.203 279.1)
XYZxyz(17.4914, 11.2108, 62.2024)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249D2 #C9D249
analogous
#4984D2 #5249D2 #9749D2
triadic
#5249D2 #D25249 #49D252
tetradic
#5249D2 #D24984 #C9D249 #49D297
square
#5249D2 #D24984 #C9D249 #49D297
split-complementary
#5249D2 #D29749 #84D249
monochromatic
#262081 #352CB2 #5249D2 #817ADE #AFABEA

Accessibility & contrast

On white

6.48
#5249D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5249D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249D2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249D2#FFFFFF#000000##FFFFFF
##5249D21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5249d2;
/* rgb */ color: rgb(82, 73, 210);
/* oklch */ color: oklch(50.0% 0.203 279.1);
Tailwind
colors: {
  custom: {
    50: '#907de1',
    500: '#5249d2',
    950: '#000000',
  },
}
SCSS
$custom: #5249d2;
$custom-light: #907de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5249d2",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 243.942,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.20278,
    "h": 279.1
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#5249D2
secondary
#D4D89F
accent
#E344D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5249D2

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

Preview Lab → · Contrast checker → · Palette generator →

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