#5139CA#5139CA

#5139CA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.211 H 282.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5139CA
RGBrgb(81, 57, 202)
HSLhsl(250, 58%, 51%)
HSVhsv(250, 72%, 79%)
CMYKcmyk(59.9%, 71.8%, 0%, 20.8%)
CIE-LABlab(35.87, 49.69, -71.55)
CIE-LCHlch(35.87, 87.11, 304.78°)
OKLaboklab(46.88% 0.0443 -0.2062)
OKLCHoklch(46.88% 0.211 282.1)
XYZxyz(15.5138, 8.9388, 56.7735)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5139CA #B2CA39
analogous
#3969CA #5139CA #9939CA
triadic
#5139CA #CA5139 #39CA51
tetradic
#5139CA #CA3969 #B2CA39 #39CA99
square
#5139CA #CA3969 #B2CA39 #39CA99
split-complementary
#5139CA #CA9939 #69CA39
monochromatic
#2A1D6C #3D2A9C #5139CA #7B69D7 #A69AE4

Accessibility & contrast

On white

7.53
#5139CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5139CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5139CA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5139CA#FFFFFF#000000##FFFFFF
##5139CA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5139ca;
/* rgb */ color: rgb(81, 57, 202);
/* oklch */ color: oklch(46.9% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f72db',
    500: '#5139ca',
    950: '#000000',
  },
}
SCSS
$custom: #5139ca;
$custom-light: #8f72db;
$custom-dark: #000000;
JSON
{
  "hex": "#5139ca",
  "rgb": {
    "r": 81,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 249.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.21093,
    "h": 282.1
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#5139CA
secondary
#C5D08F
accent
#E147C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5139CA

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

Preview Lab → · Contrast checker → · Palette generator →

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