#5039BB#5039BB

#5039BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.193 H 283.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5039BB
RGBrgb(80, 57, 187)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 70%, 73%)
CMYKcmyk(57.2%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.43, 45.01, -65.12)
CIE-LCHlch(34.43, 79.16, 304.65°)
OKLaboklab(45.43% 0.0457 -0.1874)
OKLCHoklch(45.43% 0.193 283.7)
XYZxyz(13.7383, 8.2187, 47.8665)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5039BB #A4BB39
analogous
#3963BB #5039BB #9139BB
triadic
#5039BB #BB5039 #39BB50
tetradic
#5039BB #BB3963 #A4BB39 #39BB91
square
#5039BB #BB3963 #A4BB39 #39BB91
split-complementary
#5039BB #BB9139 #63BB39
monochromatic
#281C5D #3C2B8C #5039BB #7562CF #9E91DD

Accessibility & contrast

On white

7.94
#5039BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5039BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5039BB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5039BB#FFFFFF#000000##FFFFFF
##5039BB1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#175B76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5039bb;
/* rgb */ color: rgb(80, 57, 187);
/* oklch */ color: oklch(45.4% 0.193 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c71d1',
    500: '#5039bb',
    950: '#000000',
  },
}
SCSS
$custom: #5039bb;
$custom-light: #8c71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5039bb",
  "rgb": {
    "r": 80,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 250.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.19292,
    "h": 283.7
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#5039BB
secondary
#BDC887
accent
#DD4BC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5039BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5039BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva