#5244B8#5244B8

#5244B8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.176 H 282.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5244B8
RGBrgb(82, 68, 184)
HSLhsl(247, 46%, 49%)
HSVhsv(247, 63%, 72%)
CMYKcmyk(55.4%, 63%, 0%, 27.8%)
CIE-LABlab(36.72, 38.04, -59.61)
CIE-LCHlch(36.72, 70.71, 302.54°)
OKLaboklab(47.04% 0.0388 -0.1712)
OKLCHoklch(47.04% 0.176 282.8)
XYZxyz(14.1959, 9.3879, 46.4021)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244B8 #AAB844
analogous
#4470B8 #5244B8 #8C44B8
triadic
#5244B8 #B85244 #44B852
tetradic
#5244B8 #B84470 #AAB844 #44B88C
square
#5244B8 #B84470 #AAB844 #44B88C
split-complementary
#5244B8 #B88C44 #70B844
monochromatic
#2A235F #3E338B #5244B8 #7A6FCA #A49CDA

Accessibility & contrast

On white

7.30
#5244B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5244B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5244B8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244B8#FFFFFF#000000##FFFFFF
##5244B81.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#226077
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5244b8;
/* rgb */ color: rgb(82, 68, 184);
/* oklch */ color: oklch(47.0% 0.176 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c79ce',
    500: '#5244b8',
    950: '#000000',
  },
}
SCSS
$custom: #5244b8;
$custom-light: #8c79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5244b8",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 184
  },
  "hsl": {
    "h": 247.241,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47042,
    "c": 0.17553,
    "h": 282.8
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#5244B8
secondary
#C0C791
accent
#D652C6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5244B8

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

Preview Lab → · Contrast checker → · Palette generator →

#5244B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva