#5244E7#5244E7

#5244E7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.234 H 278.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5244E7
RGBrgb(82, 68, 231)
HSLhsl(245, 77%, 59%)
HSVhsv(245, 71%, 91%)
CMYKcmyk(64.5%, 70.6%, 0%, 9.4%)
CIE-LABlab(40.73, 52.71, -80.22)
CIE-LCHlch(40.73, 95.98, 303.31°)
OKLaboklab(51.17% 0.0326 -0.2316)
OKLCHoklch(51.17% 0.234 278)
XYZxyz(19.9659, 11.6959, 76.7912)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244E7 #D9E744
analogous
#4487E7 #5244E7 #A344E7
triadic
#5244E7 #E75244 #44E752
tetradic
#5244E7 #E74487 #D9E744 #44E7A3
square
#5244E7 #E74487 #D9E744 #44E7A3
split-complementary
#5244E7 #E7A344 #87E744
monochromatic
#20149D #2B1BD3 #5244E7 #847AEE #B6B0F5

Accessibility & contrast

On white

6.29
#5244E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5244E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244E7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244E7#FFFFFF#000000##FFFFFF
##5244E71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EC
Deuteranopia (green-blind)
#0059E4
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5244e7;
/* rgb */ color: rgb(82, 68, 231);
/* oklch */ color: oklch(51.2% 0.234 278.0);
Tailwind
colors: {
  custom: {
    50: '#947af0',
    500: '#5244e7',
    950: '#000000',
  },
}
SCSS
$custom: #5244e7;
$custom-light: #947af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5244e7",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 231
  },
  "hsl": {
    "h": 245.153,
    "s": 77.251,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.23386,
    "h": 278
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#5244E7
secondary
#DEE4A3
accent
#F434E3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5244E7

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

Preview Lab → · Contrast checker → · Palette generator →

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