#5039DA#5039DA

#5039DA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.3% C 0.230 H 279.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5039DA
RGBrgb(80, 57, 218)
HSLhsl(249, 69%, 54%)
HSVhsv(249, 74%, 85%)
CMYKcmyk(63.3%, 73.9%, 0%, 14.5%)
CIE-LABlab(37.28, 54.35, -78.47)
CIE-LCHlch(37.28, 95.45, 304.71°)
OKLaboklab(48.32% 0.0395 -0.2265)
OKLCHoklch(48.32% 0.23 279.9)
XYZxyz(17.4223, 9.6923, 67.2688)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5039DA #C3DA39
analogous
#3973DA #5039DA #A039DA
triadic
#5039DA #DA5039 #39DA50
tetradic
#5039DA #DA3973 #C3DA39 #39DAA0
square
#5039DA #DA3973 #C3DA39 #39DAA0
split-complementary
#5039DA #DAA039 #73DA39
monochromatic
#271881 #3722B4 #5039DA #7E6DE4 #ABA0ED

Accessibility & contrast

On white

7.15
#5039DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5039DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5039DA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5039DA#FFFFFF#000000##FFFFFF
##5039DA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0051D7
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5039da;
/* rgb */ color: rgb(80, 57, 218);
/* oklch */ color: oklch(48.3% 0.230 279.9);
Tailwind
colors: {
  custom: {
    50: '#9273e7',
    500: '#5039da',
    950: '#000000',
  },
}
SCSS
$custom: #5039da;
$custom-light: #9273e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5039da",
  "rgb": {
    "r": 80,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 248.571,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.2299,
    "h": 279.9
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#5039DA
secondary
#D0DA95
accent
#EB3CD2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5039DA

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

Preview Lab → · Contrast checker → · Palette generator →

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