#5244D7#5244D7

#5244D7 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.215 H 279.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5244D7
RGBrgb(82, 68, 215)
HSLhsl(246, 65%, 55%)
HSVhsv(246, 68%, 84%)
CMYKcmyk(61.9%, 68.4%, 0%, 15.7%)
CIE-LABlab(39.30, 47.76, -73.43)
CIE-LCHlch(39.30, 87.60, 303.04°)
OKLaboklab(49.71% 0.0352 -0.2117)
OKLCHoklch(49.71% 0.215 279.4)
XYZxyz(17.8086, 10.8330, 65.4293)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244D7 #C9D744
analogous
#4480D7 #5244D7 #9B44D7
triadic
#5244D7 #D75244 #44D752
tetradic
#5244D7 #D74480 #C9D744 #44D79B
square
#5244D7 #D74480 #C9D744 #44D79B
split-complementary
#5244D7 #D79B44 #80D744
monochromatic
#261C84 #3527B7 #5244D7 #8176E2 #AFA9ED

Accessibility & contrast

On white

6.63
#5244D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5244D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244D7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244D7#FFFFFF#000000##FFFFFF
##5244D71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0057D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5244d7;
/* rgb */ color: rgb(82, 68, 215);
/* oklch */ color: oklch(49.7% 0.215 279.4);
Tailwind
colors: {
  custom: {
    50: '#9179e5',
    500: '#5244d7',
    950: '#000000',
  },
}
SCSS
$custom: #5244d7;
$custom-light: #9179e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5244d7",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 215
  },
  "hsl": {
    "h": 245.714,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.21464,
    "h": 279.4
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#5244D7
secondary
#D4DA9D
accent
#E840D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5244D7

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

Preview Lab → · Contrast checker → · Palette generator →

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