#5139CE#5139CE

#5139CE is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.3% C 0.216 H 281.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5139CE
RGBrgb(81, 57, 206)
HSLhsl(250, 60%, 52%)
HSVhsv(250, 72%, 81%)
CMYKcmyk(60.7%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.23, 50.89, -73.27)
CIE-LCHlch(36.23, 89.21, 304.78°)
OKLaboklab(47.25% 0.0435 -0.2112)
OKLCHoklch(47.25% 0.216 281.6)
XYZxyz(15.9936, 9.1307, 59.3002)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5139CE #B6CE39
analogous
#396CCE #5139CE #9B39CE
triadic
#5139CE #CE5139 #39CE51
tetradic
#5139CE #CE396C #B6CE39 #39CE9B
square
#5139CE #CE396C #B6CE39 #39CE9B
split-complementary
#5139CE #CE9B39 #6CCE39
monochromatic
#2A1C71 #3C28A2 #5139CE #7C6ADA #A79BE6

Accessibility & contrast

On white

7.43
#5139CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5139CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5139CE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5139CE#FFFFFF#000000##FFFFFF
##5139CE1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5139ce;
/* rgb */ color: rgb(81, 57, 206);
/* oklch */ color: oklch(47.3% 0.216 281.6);
Tailwind
colors: {
  custom: {
    50: '#9072de',
    500: '#5139ce',
    950: '#000000',
  },
}
SCSS
$custom: #5139ce;
$custom-light: #9072de;
$custom-dark: #000000;
JSON
{
  "hex": "#5139ce",
  "rgb": {
    "r": 81,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 249.664,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.21567,
    "h": 281.6
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#5139CE
secondary
#C8D291
accent
#E344CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5139CE

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

Preview Lab → · Contrast checker → · Palette generator →

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