#5047DC#5047DC

#5047DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.218 H 277.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5047DC
RGBrgb(80, 71, 220)
HSLhsl(244, 68%, 57%)
HSVhsv(244, 68%, 86%)
CMYKcmyk(63.6%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.21, 47.36, -74.81)
CIE-LCHlch(40.21, 88.54, 302.34°)
OKLaboklab(50.46% 0.0298 -0.2158)
OKLCHoklch(50.46% 0.218 277.9)
XYZxyz(18.4756, 11.3778, 68.9188)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047DC #D3DC47
analogous
#4789DC #5047DC #9B47DC
triadic
#5047DC #DC5047 #47DC50
tetradic
#5047DC #DC4789 #D3DC47 #47DC9B
square
#5047DC #DC4789 #D3DC47 #47DC9B
split-complementary
#5047DC #DC9B47 #89DC47
monochromatic
#221B8E #2E25C1 #5047DC #817AE6 #B2AEF0

Accessibility & contrast

On white

6.41
#5047DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5047DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047DC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047DC#FFFFFF#000000##FFFFFF
##5047DC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5047dc;
/* rgb */ color: rgb(80, 71, 220);
/* oklch */ color: oklch(50.5% 0.218 277.9);
Tailwind
colors: {
  custom: {
    50: '#917be8',
    500: '#5047dc',
    950: '#000000',
  },
}
SCSS
$custom: #5047dc;
$custom-light: #917be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5047dc",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 243.624,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.21786,
    "h": 277.9
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#5047DC
secondary
#DADEA1
accent
#EB3DE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5047DC

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

Preview Lab → · Contrast checker → · Palette generator →

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