#5249CC#5249CC

#5249CC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.5% C 0.195 H 279.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5249CC
RGBrgb(82, 73, 204)
HSLhsl(244, 56%, 54%)
HSVhsv(244, 64%, 80%)
CMYKcmyk(59.8%, 64.2%, 0%, 20%)
CIE-LABlab(39.44, 41.40, -66.85)
CIE-LCHlch(39.44, 78.63, 301.77°)
OKLaboklab(49.52% 0.0325 -0.1924)
OKLCHoklch(49.52% 0.195 279.6)
XYZxyz(16.7578, 10.9173, 58.3392)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249CC #C3CC49
analogous
#4982CC #5249CC #9449CC
triadic
#5249CC #CC5249 #49CC52
tetradic
#5249CC #CC4982 #C3CC49 #49CC94
square
#5249CC #CC4982 #C3CC49 #49CC94
split-complementary
#5249CC #CC9449 #82CC49
monochromatic
#282279 #382FA9 #5249CC #7F79D9 #ADA9E7

Accessibility & contrast

On white

6.60
#5249CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5249CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249CC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249CC#FFFFFF#000000##FFFFFF
##5249CC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5249cc;
/* rgb */ color: rgb(82, 73, 204);
/* oklch */ color: oklch(49.5% 0.195 279.6);
Tailwind
colors: {
  custom: {
    50: '#8f7cdd',
    500: '#5249cc',
    950: '#000000',
  },
}
SCSS
$custom: #5249cc;
$custom-light: #8f7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5249cc",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 244.122,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.19517,
    "h": 279.6
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#5249CC
secondary
#D0D49D
accent
#E048D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5249CC

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

Preview Lab → · Contrast checker → · Palette generator →

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