#5244C8#5244C8

#5244C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.196 H 280.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5244C8
RGBrgb(82, 68, 200)
HSLhsl(246, 55%, 53%)
HSVhsv(246, 66%, 78%)
CMYKcmyk(59%, 66%, 0%, 21.6%)
CIE-LABlab(38.02, 43.07, -66.86)
CIE-LCHlch(38.02, 79.53, 302.79°)
OKLaboklab(48.39% 0.0372 -0.1925)
OKLCHoklch(48.39% 0.196 280.9)
XYZxyz(15.9689, 10.0971, 55.7398)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244C8 #BAC844
analogous
#4478C8 #5244C8 #9444C8
triadic
#5244C8 #C85244 #44C852
tetradic
#5244C8 #C84478 #BAC844 #44C894
square
#5244C8 #C84478 #BAC844 #44C894
split-complementary
#5244C8 #C89444 #78C844
monochromatic
#2A2171 #3B2FA0 #5244C8 #7E73D6 #AAA3E4

Accessibility & contrast

On white

6.95
#5244C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5244C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244C8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244C8#FFFFFF#000000##FFFFFF
##5244C81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5244c8;
/* rgb */ color: rgb(82, 68, 200);
/* oklch */ color: oklch(48.4% 0.196 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f79da',
    500: '#5244c8',
    950: '#000000',
  },
}
SCSS
$custom: #5244c8;
$custom-light: #8f79da;
$custom-dark: #000000;
JSON
{
  "hex": "#5244c8",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 246.364,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.19605,
    "h": 280.9
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#5244C8
secondary
#CAD197
accent
#DE4ACE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5244C8

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

Preview Lab → · Contrast checker → · Palette generator →

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