#5047DF#5047DF

#5047DF is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.222 H 277.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5047DF
RGBrgb(80, 71, 223)
HSLhsl(244, 70%, 58%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(64.1%, 68.2%, 0%, 12.5%)
CIE-LABlab(40.47, 48.30, -76.09)
CIE-LCHlch(40.47, 90.13, 302.41°)
OKLaboklab(50.73% 0.0294 -0.2196)
OKLCHoklch(50.73% 0.222 277.6)
XYZxyz(18.8765, 11.5381, 71.0301)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047DF #D6DF47
analogous
#478ADF #5047DF #9C47DF
triadic
#5047DF #DF5047 #47DF50
tetradic
#5047DF #DF478A #D6DF47 #47DF9C
square
#5047DF #DF478A #D6DF47 #47DF9C
split-complementary
#5047DF #DF9C47 #8ADF47
monochromatic
#211992 #2C22C6 #5047DF #827BE8 #B3AFF1

Accessibility & contrast

On white

6.35
#5047DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5047DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047DF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047DF#FFFFFF#000000##FFFFFF
##5047DF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5047df;
/* rgb */ color: rgb(80, 71, 223);
/* oklch */ color: oklch(50.7% 0.222 277.6);
Tailwind
colors: {
  custom: {
    50: '#927cea',
    500: '#5047df',
    950: '#000000',
  },
}
SCSS
$custom: #5047df;
$custom-light: #927cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5047df",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 243.553,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.22153,
    "h": 277.6
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#5047DF
secondary
#DCDFA2
accent
#ED3BE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5047DF

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

Preview Lab → · Contrast checker → · Palette generator →

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