#5249C8#5249C8

#5249C8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.190 H 280.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5249C8
RGBrgb(82, 73, 200)
HSLhsl(244, 54%, 54%)
HSVhsv(244, 64%, 78%)
CMYKcmyk(59%, 63.5%, 0%, 21.6%)
CIE-LABlab(39.12, 40.12, -65.06)
CIE-LCHlch(39.12, 76.44, 301.66°)
OKLaboklab(49.19% 0.0329 -0.1872)
OKLCHoklch(49.19% 0.19 280)
XYZxyz(16.2843, 10.7279, 55.8450)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249C8 #BFC849
analogous
#497FC8 #5249C8 #9149C8
triadic
#5249C8 #C85249 #49C852
tetradic
#5249C8 #C8497F #BFC849 #49C891
square
#5249C8 #C8497F #BFC849 #49C891
split-complementary
#5249C8 #C89149 #7FC849
monochromatic
#292374 #3931A3 #5249C8 #7F78D6 #ABA7E4

Accessibility & contrast

On white

6.68
#5249C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5249C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249C8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249C8#FFFFFF#000000##FFFFFF
##5249C81.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5249c8;
/* rgb */ color: rgb(82, 73, 200);
/* oklch */ color: oklch(49.2% 0.190 280.0);
Tailwind
colors: {
  custom: {
    50: '#8e7cda',
    500: '#5249c8',
    950: '#000000',
  },
}
SCSS
$custom: #5249c8;
$custom-light: #8e7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5249c8",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 244.252,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.19005,
    "h": 280
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#5249C8
secondary
#CED29B
accent
#DD4BD3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #5249C8

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

Preview Lab → · Contrast checker → · Palette generator →

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