#5047DE#5047DE

#5047DE is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.220 H 277.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5047DE
RGBrgb(80, 71, 222)
HSLhsl(244, 70%, 57%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(64%, 68%, 0%, 12.9%)
CIE-LABlab(40.38, 47.99, -75.66)
CIE-LCHlch(40.38, 89.60, 302.38°)
OKLaboklab(50.64% 0.0295 -0.2183)
OKLCHoklch(50.64% 0.22 277.7)
XYZxyz(18.7421, 11.4843, 70.3221)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047DE #D5DE47
analogous
#478ADE #5047DE #9B47DE
triadic
#5047DE #DE5047 #47DE50
tetradic
#5047DE #DE478A #D5DE47 #47DE9B
square
#5047DE #DE478A #D5DE47 #47DE9B
split-complementary
#5047DE #DE9B47 #8ADE47
monochromatic
#211A91 #2D23C5 #5047DE #817BE7 #B3AFF1

Accessibility & contrast

On white

6.37
#5047DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5047DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047DE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047DE#FFFFFF#000000##FFFFFF
##5047DE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5047de;
/* rgb */ color: rgb(80, 71, 222);
/* oklch */ color: oklch(50.6% 0.220 277.7);
Tailwind
colors: {
  custom: {
    50: '#917be9',
    500: '#5047de',
    950: '#000000',
  },
}
SCSS
$custom: #5047de;
$custom-light: #917be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5047de",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 243.576,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.22031,
    "h": 277.7
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#5047DE
secondary
#DBDFA2
accent
#EC3BE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5047DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5047DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva