#5139CC#5139CC

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

Color values

HEX#5139CC
RGBrgb(81, 57, 204)
HSLhsl(250, 59%, 51%)
HSVhsv(250, 72%, 80%)
CMYKcmyk(60.3%, 72.1%, 0%, 20%)
CIE-LABlab(36.05, 50.29, -72.41)
CIE-LCHlch(36.05, 88.16, 304.78°)
OKLaboklab(47.06% 0.0439 -0.2087)
OKLCHoklch(47.06% 0.213 281.9)
XYZxyz(15.7521, 9.0341, 58.0287)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5139CC #B4CC39
analogous
#396ACC #5139CC #9A39CC
triadic
#5139CC #CC5139 #39CC51
tetradic
#5139CC #CC396A #B4CC39 #39CC9A
square
#5139CC #CC396A #B4CC39 #39CC9A
split-complementary
#5139CC #CC9A39 #6ACC39
monochromatic
#2A1C6E #3C299F #5139CC #7C6AD9 #A79AE5

Accessibility & contrast

On white

7.48
#5139CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5139CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5139CC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5139CC#FFFFFF#000000##FFFFFF
##5139CC1.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)
#005AD0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5139cc;
/* rgb */ color: rgb(81, 57, 204);
/* oklch */ color: oklch(47.1% 0.213 281.9);
Tailwind
colors: {
  custom: {
    50: '#9072dd',
    500: '#5139cc',
    950: '#000000',
  },
}
SCSS
$custom: #5139cc;
$custom-light: #9072dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5139cc",
  "rgb": {
    "r": 81,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 249.796,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.21331,
    "h": 281.9
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#5139CC
secondary
#C6D190
accent
#E246C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5139CC

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

Preview Lab → · Contrast checker → · Palette generator →

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