#5047F0#5047F0

#5047F0 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.3% C 0.242 H 276.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5047F0
RGBrgb(80, 71, 240)
HSLhsl(243, 85%, 61%)
HSVhsv(243, 70%, 94%)
CMYKcmyk(66.7%, 70.4%, 0%, 5.9%)
CIE-LABlab(42.00, 53.62, -83.22)
CIE-LCHlch(42.00, 99.00, 302.80°)
OKLaboklab(52.29% 0.0267 -0.2404)
OKLCHoklch(52.29% 0.242 276.3)
XYZxyz(21.2845, 12.5013, 83.7125)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047F0 #E7F047
analogous
#4792F0 #5047F0 #A447F0
triadic
#5047F0 #F05047 #47F050
tetradic
#5047F0 #F04792 #E7F047 #47F0A4
square
#5047F0 #F04792 #E7F047 #47F0A4
split-complementary
#5047F0 #F0A447 #92F047
monochromatic
#170EAE #1E13E7 #5047F0 #8680F5 #BCB8F9

Accessibility & contrast

On white

6.00
#5047F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5047F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047F0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047F0#FFFFFF#000000##FFFFFF
##5047F01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF5
Deuteranopia (green-blind)
#005CED
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5047f0;
/* rgb */ color: rgb(80, 71, 240);
/* oklch */ color: oklch(52.3% 0.242 276.3);
Tailwind
colors: {
  custom: {
    50: '#957cf6',
    500: '#5047f0',
    950: '#000000',
  },
}
SCSS
$custom: #5047f0;
$custom-light: #957cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5047f0",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 243.195,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.24189,
    "h": 276.3
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#5047F0
secondary
#E6E9AA
accent
#E104D6
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5047F0

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

Preview Lab → · Contrast checker → · Palette generator →

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