#5249E4#5249E4

#5249E4 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.225 H 277.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5249E4
RGBrgb(82, 73, 228)
HSLhsl(243, 74%, 59%)
HSVhsv(243, 68%, 89%)
CMYKcmyk(64%, 68%, 0%, 10.6%)
CIE-LABlab(41.47, 49.00, -77.30)
CIE-LCHlch(41.47, 91.52, 302.37°)
OKLaboklab(51.61% 0.0297 -0.2231)
OKLCHoklch(51.61% 0.225 277.6)
XYZxyz(19.8613, 12.1587, 74.6840)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249E4 #DBE449
analogous
#498EE4 #5249E4 #A049E4
triadic
#5249E4 #E45249 #49E452
tetradic
#5249E4 #E4498E #DBE449 #49E4A0
square
#5249E4 #E4498E #DBE449 #49E4A0
split-complementary
#5249E4 #E4A049 #8EE449
monochromatic
#1F179C #291FD1 #5249E4 #857EEC #B7B4F4

Accessibility & contrast

On white

6.12
#5249E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5249E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249E4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249E4#FFFFFF#000000##FFFFFF
##5249E41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005BE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5249e4;
/* rgb */ color: rgb(82, 73, 228);
/* oklch */ color: oklch(51.6% 0.225 277.6);
Tailwind
colors: {
  custom: {
    50: '#937dee',
    500: '#5249e4',
    950: '#000000',
  },
}
SCSS
$custom: #5249e4;
$custom-light: #937dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5249e4",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 243.484,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.22503,
    "h": 277.6
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#5249E4
secondary
#DFE3A6
accent
#F137E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5249E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5249E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva