#5039CC#5039CC

#5039CC is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.213 H 281.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5039CC
RGBrgb(80, 57, 204)
HSLhsl(249, 59%, 51%)
HSVhsv(249, 72%, 80%)
CMYKcmyk(60.8%, 72.1%, 0%, 20%)
CIE-LABlab(35.97, 50.16, -72.55)
CIE-LCHlch(35.97, 88.20, 304.66°)
OKLaboklab(46.98% 0.0425 -0.2092)
OKLCHoklch(46.98% 0.213 281.5)
XYZxyz(15.6671, 8.9902, 58.0247)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5039CC #B5CC39
analogous
#396BCC #5039CC #9939CC
triadic
#5039CC #CC5039 #39CC50
tetradic
#5039CC #CC396B #B5CC39 #39CC99
square
#5039CC #CC396B #B5CC39 #39CC99
split-complementary
#5039CC #CC9939 #6BCC39
monochromatic
#291C6E #3B299F #5039CC #7B6AD9 #A69AE5

Accessibility & contrast

On white

7.50
#5039CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5039CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5039CC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5039CC#FFFFFF#000000##FFFFFF
##5039CC1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5039cc;
/* rgb */ color: rgb(80, 57, 204);
/* oklch */ color: oklch(47.0% 0.213 281.5);
Tailwind
colors: {
  custom: {
    50: '#8f72dd',
    500: '#5039cc',
    950: '#000000',
  },
}
SCSS
$custom: #5039cc;
$custom-light: #8f72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5039cc",
  "rgb": {
    "r": 80,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 249.388,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.21346,
    "h": 281.5
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#5039CC
secondary
#C7D190
accent
#E246CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5039CC

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

Preview Lab → · Contrast checker → · Palette generator →

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