#5047CD#5047CD

#5047CD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.1% C 0.199 H 279.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5047CD
RGBrgb(80, 71, 205)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 65%, 80%)
CMYKcmyk(61%, 65.4%, 0%, 19.6%)
CIE-LABlab(38.93, 42.59, -68.27)
CIE-LCHlch(38.93, 80.47, 301.96°)
OKLaboklab(49.14% 0.0316 -0.1967)
OKLCHoklch(49.14% 0.199 279.1)
XYZxyz(16.5774, 10.6185, 58.9218)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047CD #C4CD47
analogous
#4781CD #5047CD #9347CD
triadic
#5047CD #CD5047 #47CD50
tetradic
#5047CD #CD4781 #C4CD47 #47CD93
square
#5047CD #CD4781 #C4CD47 #47CD93
split-complementary
#5047CD #CD9347 #81CD47
monochromatic
#272179 #362EA9 #5047CD #7E77DA #ACA7E7

Accessibility & contrast

On white

6.72
#5047CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5047CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047CD#FFFFFF#000000##FFFFFF
##5047CD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5047cd;
/* rgb */ color: rgb(80, 71, 205);
/* oklch */ color: oklch(49.1% 0.199 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e7bdd',
    500: '#5047cd',
    950: '#000000',
  },
}
SCSS
$custom: #5047cd;
$custom-light: #8e7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5047cd",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 244.03,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.19919,
    "h": 279.1
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#5047CD
secondary
#D1D49B
accent
#E147D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5047CD

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

Preview Lab → · Contrast checker → · Palette generator →

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