#5047CF#5047CF

#5047CF is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.202 H 278.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5047CF
RGBrgb(80, 71, 207)
HSLhsl(244, 59%, 55%)
HSVhsv(244, 66%, 81%)
CMYKcmyk(61.4%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.10, 43.23, -69.16)
CIE-LCHlch(39.10, 81.56, 302.01°)
OKLaboklab(49.31% 0.0314 -0.1993)
OKLCHoklch(49.31% 0.202 278.9)
XYZxyz(16.8204, 10.7157, 60.2013)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047CF #C6CF47
analogous
#4782CF #5047CF #9447CF
triadic
#5047CF #CF5047 #47CF50
tetradic
#5047CF #CF4782 #C6CF47 #47CF94
square
#5047CF #CF4782 #C6CF47 #47CF94
split-complementary
#5047CF #CF9447 #82CF47
monochromatic
#26207B #352DAC #5047CF #7E78DC #ACA8E8

Accessibility & contrast

On white

6.68
#5047CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5047CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5047CF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047CF#FFFFFF#000000##FFFFFF
##5047CF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5047cf;
/* rgb */ color: rgb(80, 71, 207);
/* oklch */ color: oklch(49.3% 0.202 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f7bdf',
    500: '#5047cf',
    950: '#000000',
  },
}
SCSS
$custom: #5047cf;
$custom-light: #8f7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5047cf",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 243.971,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.20172,
    "h": 278.9
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#5047CF
secondary
#D2D69C
accent
#E246D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5047CF

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

Preview Lab → · Contrast checker → · Palette generator →

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