#5244D4#5244D4

#5244D4 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.211 H 279.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5244D4
RGBrgb(82, 68, 212)
HSLhsl(246, 63%, 55%)
HSVhsv(246, 68%, 83%)
CMYKcmyk(61.3%, 67.9%, 0%, 16.9%)
CIE-LABlab(39.04, 46.82, -72.13)
CIE-LCHlch(39.04, 86.00, 302.99°)
OKLaboklab(49.44% 0.0357 -0.2079)
OKLCHoklch(49.44% 0.211 279.7)
XYZxyz(17.4267, 10.6802, 63.4178)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244D4 #C6D444
analogous
#447ED4 #5244D4 #9A44D4
triadic
#5244D4 #D45244 #44D452
tetradic
#5244D4 #D4447E #C6D444 #44D49A
square
#5244D4 #D4447E #C6D444 #44D49A
split-complementary
#5244D4 #D49A44 #7ED444
monochromatic
#271D80 #3629B2 #5244D4 #8076DF #AEA8EB

Accessibility & contrast

On white

6.70
#5244D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5244D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244D4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244D4#FFFFFF#000000##FFFFFF
##5244D41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5244d4;
/* rgb */ color: rgb(82, 68, 212);
/* oklch */ color: oklch(49.4% 0.211 279.7);
Tailwind
colors: {
  custom: {
    50: '#9179e2',
    500: '#5244d4',
    950: '#000000',
  },
}
SCSS
$custom: #5244d4;
$custom-light: #9179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5244d4",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 212
  },
  "hsl": {
    "h": 245.833,
    "s": 62.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.21096,
    "h": 279.7
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#5244D4
secondary
#D2D89C
accent
#E642D6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5244D4

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

Preview Lab → · Contrast checker → · Palette generator →

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