#5047BF#5047BF

#5047BF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.181 H 280.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5047BF
RGBrgb(80, 71, 191)
HSLhsl(245, 48%, 51%)
HSVhsv(245, 63%, 75%)
CMYKcmyk(58.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.79, 38.11, -61.98)
CIE-LCHlch(37.79, 72.76, 301.59°)
OKLaboklab(47.96% 0.0329 -0.1782)
OKLCHoklch(47.96% 0.181 280.5)
XYZxyz(14.9625, 9.9725, 50.4165)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5047BF #B6BF47
analogous
#477ABF #5047BF #8C47BF
triadic
#5047BF #BF5047 #47BF50
tetradic
#5047BF #BF477A #B6BF47 #47BF8C
square
#5047BF #BF477A #B6BF47 #47BF8C
split-complementary
#5047BF #BF8C47 #7ABF47
monochromatic
#292468 #3B3495 #5047BF #7B74CF #A6A2DF

Accessibility & contrast

On white

7.01
#5047BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5047BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5047BF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5047BF#FFFFFF#000000##FFFFFF
##5047BF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#09657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5047bf;
/* rgb */ color: rgb(80, 71, 191);
/* oklch */ color: oklch(48.0% 0.181 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c7bd3',
    500: '#5047bf',
    950: '#000000',
  },
}
SCSS
$custom: #5047bf;
$custom-light: #8c7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5047bf",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 244.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.18121,
    "h": 280.5
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#5047BF
secondary
#C7CB96
accent
#D850CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5047BF

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

Preview Lab → · Contrast checker → · Palette generator →

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