#5039CD#5039CD

#5039CD is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.215 H 281.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5039CD
RGBrgb(80, 57, 205)
HSLhsl(249, 60%, 51%)
HSVhsv(249, 72%, 80%)
CMYKcmyk(61%, 72.2%, 0%, 19.6%)
CIE-LABlab(36.06, 50.46, -72.98)
CIE-LCHlch(36.06, 88.73, 304.66°)
OKLaboklab(47.08% 0.0423 -0.2104)
OKLCHoklch(47.08% 0.215 281.4)
XYZxyz(15.7874, 9.0384, 58.6584)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5039CD #B6CD39
analogous
#396CCD #5039CD #9A39CD
triadic
#5039CD #CD5039 #39CD50
tetradic
#5039CD #CD396C #B6CD39 #39CD9A
square
#5039CD #CD396C #B6CD39 #39CD9A
split-complementary
#5039CD #CD9A39 #6CCD39
monochromatic
#291C6F #3B28A0 #5039CD #7B6AD9 #A69BE6

Accessibility & contrast

On white

7.48
#5039CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5039CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5039CD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5039CD#FFFFFF#000000##FFFFFF
##5039CD1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5039cd;
/* rgb */ color: rgb(80, 57, 205);
/* oklch */ color: oklch(47.1% 0.215 281.4);
Tailwind
colors: {
  custom: {
    50: '#8f72dd',
    500: '#5039cd',
    950: '#000000',
  },
}
SCSS
$custom: #5039cd;
$custom-light: #8f72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5039cd",
  "rgb": {
    "r": 80,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 249.324,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.21465,
    "h": 281.4
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#5039CD
secondary
#C7D290
accent
#E345CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5039CD

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

Preview Lab → · Contrast checker → · Palette generator →

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