#5244CC#5244CC

#5244CC is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.201 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5244CC
RGBrgb(82, 68, 204)
HSLhsl(246, 57%, 53%)
HSVhsv(246, 67%, 80%)
CMYKcmyk(59.8%, 66.7%, 0%, 20%)
CIE-LABlab(38.35, 44.32, -68.63)
CIE-LCHlch(38.35, 81.70, 302.85°)
OKLaboklab(48.73% 0.0367 -0.1977)
OKLCHoklch(48.73% 0.201 280.5)
XYZxyz(16.4424, 10.2865, 58.2341)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244CC #BECC44
analogous
#447ACC #5244CC #9644CC
triadic
#5244CC #CC5244 #44CC52
tetradic
#5244CC #CC447A #BECC44 #44CC96
square
#5244CC #CC447A #BECC44 #44CC96
split-complementary
#5244CC #CC9644 #7ACC44
monochromatic
#292076 #3A2DA6 #5244CC #7E74D9 #ABA4E6

Accessibility & contrast

On white

6.87
#5244CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5244CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244CC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244CC#FFFFFF#000000##FFFFFF
##5244CC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5244cc;
/* rgb */ color: rgb(82, 68, 204);
/* oklch */ color: oklch(48.7% 0.201 280.5);
Tailwind
colors: {
  custom: {
    50: '#8f79dd',
    500: '#5244cc',
    950: '#000000',
  },
}
SCSS
$custom: #5244cc;
$custom-light: #8f79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5244cc",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 246.176,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.20107,
    "h": 280.5
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#5244CC
secondary
#CDD399
accent
#E047D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5244CC

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

Preview Lab → · Contrast checker → · Palette generator →

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