#5049E4#5049E4

#5049E4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.225 H 276.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5049E4
RGBrgb(80, 73, 228)
HSLhsl(243, 74%, 59%)
HSVhsv(243, 68%, 89%)
CMYKcmyk(64.9%, 68%, 0%, 10.6%)
CIE-LABlab(41.33, 48.75, -77.53)
CIE-LCHlch(41.33, 91.59, 302.16°)
OKLaboklab(51.48% 0.0273 -0.2238)
OKLCHoklch(51.48% 0.225 276.9)
XYZxyz(19.6898, 12.0703, 74.6759)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5049E4 #DDE449
analogous
#4990E4 #5049E4 #9E49E4
triadic
#5049E4 #E45049 #49E450
tetradic
#5049E4 #E44990 #DDE449 #49E49E
square
#5049E4 #E44990 #DDE449 #49E49E
split-complementary
#5049E4 #E49E49 #90E449
monochromatic
#1D179C #271FD1 #5049E4 #837EEC #B6B4F4

Accessibility & contrast

On white

6.15
#5049E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5049E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5049E4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5049E4#FFFFFF#000000##FFFFFF
##5049E41.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5049e4;
/* rgb */ color: rgb(80, 73, 228);
/* oklch */ color: oklch(51.5% 0.225 276.9);
Tailwind
colors: {
  custom: {
    50: '#927dee',
    500: '#5049e4',
    950: '#000000',
  },
}
SCSS
$custom: #5049e4;
$custom-light: #927dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5049e4",
  "rgb": {
    "r": 80,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 242.71,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.22546,
    "h": 276.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#5049E4
secondary
#E0E3A6
accent
#F137E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5049E4

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

Preview Lab → · Contrast checker → · Palette generator →

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