#5139CF#5139CF

#5139CF is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.217 H 281.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5139CF
RGBrgb(81, 57, 207)
HSLhsl(250, 61%, 52%)
HSVhsv(250, 72%, 81%)
CMYKcmyk(60.9%, 72.5%, 0%, 18.8%)
CIE-LABlab(36.33, 51.19, -73.70)
CIE-LCHlch(36.33, 89.73, 304.78°)
OKLaboklab(47.35% 0.0432 -0.2125)
OKLCHoklch(47.35% 0.217 281.5)
XYZxyz(16.1154, 9.1794, 59.9420)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5139CF #B7CF39
analogous
#396CCF #5139CF #9C39CF
triadic
#5139CF #CF5139 #39CF51
tetradic
#5139CF #CF396C #B7CF39 #39CF9C
square
#5139CF #CF396C #B7CF39 #39CF9C
split-complementary
#5139CF #CF9C39 #6CCF39
monochromatic
#291C72 #3B28A3 #5139CF #7C6ADB #A89CE7

Accessibility & contrast

On white

7.40
#5139CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5139CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5139CF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5139CF#FFFFFF#000000##FFFFFF
##5139CF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0050CC
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5139cf;
/* rgb */ color: rgb(81, 57, 207);
/* oklch */ color: oklch(47.3% 0.217 281.5);
Tailwind
colors: {
  custom: {
    50: '#9072df',
    500: '#5139cf',
    950: '#000000',
  },
}
SCSS
$custom: #5139cf;
$custom-light: #9072df;
$custom-dark: #000000;
JSON
{
  "hex": "#5139cf",
  "rgb": {
    "r": 81,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 249.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.21686,
    "h": 281.5
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#5139CF
secondary
#C8D391
accent
#E444CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5139CF

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

Preview Lab → · Contrast checker → · Palette generator →

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