#5244D9#5244D9

#5244D9 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.217 H 279.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5244D9
RGBrgb(82, 68, 217)
HSLhsl(246, 66%, 56%)
HSVhsv(246, 69%, 85%)
CMYKcmyk(62.2%, 68.7%, 0%, 14.9%)
CIE-LABlab(39.47, 48.38, -74.29)
CIE-LCHlch(39.47, 88.66, 303.07°)
OKLaboklab(49.88% 0.0349 -0.2142)
OKLCHoklch(49.88% 0.217 279.3)
XYZxyz(18.0672, 10.9364, 66.7910)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244D9 #CBD944
analogous
#4480D9 #5244D9 #9D44D9
triadic
#5244D9 #D95244 #44D952
tetradic
#5244D9 #D94480 #CBD944 #44D99D
square
#5244D9 #D94480 #CBD944 #44D99D
split-complementary
#5244D9 #D99D44 #80D944
monochromatic
#261B87 #3426BA #5244D9 #8177E3 #B0AAEE

Accessibility & contrast

On white

6.59
#5244D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5244D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244D9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244D9#FFFFFF#000000##FFFFFF
##5244D91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5244d9;
/* rgb */ color: rgb(82, 68, 217);
/* oklch */ color: oklch(49.9% 0.217 279.3);
Tailwind
colors: {
  custom: {
    50: '#9279e6',
    500: '#5244d9',
    950: '#000000',
  },
}
SCSS
$custom: #5244d9;
$custom-light: #9279e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5244d9",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 245.638,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.21707,
    "h": 279.3
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#5244D9
secondary
#D5DB9E
accent
#E93FD9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5244D9

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

Preview Lab → · Contrast checker → · Palette generator →

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