#5137D9#5137D9

#5137D9 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.0% C 0.230 H 280.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5137D9
RGBrgb(81, 55, 217)
HSLhsl(250, 68%, 53%)
HSVhsv(250, 75%, 85%)
CMYKcmyk(62.7%, 74.7%, 0%, 14.9%)
CIE-LABlab(36.91, 55.18, -78.51)
CIE-LCHlch(36.91, 95.96, 305.10°)
OKLaboklab(48.04% 0.0423 -0.2265)
OKLCHoklch(48.04% 0.23 280.6)
XYZxyz(17.2799, 9.4901, 66.5534)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5137D9 #BFD937
analogous
#376ED9 #5137D9 #A237D9
triadic
#5137D9 #D95137 #37D951
tetradic
#5137D9 #D9376E #BFD937 #37D9A2
square
#5137D9 #D9376E #BFD937 #37D9A2
split-complementary
#5137D9 #D9A237 #6ED937
monochromatic
#28187E #3922B1 #5137D9 #7E6AE3 #AA9EED

Accessibility & contrast

On white

7.25
#5137D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5137D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5137D9
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5137D9#FFFFFF#000000##FFFFFF
##5137D91.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#0051D6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5137d9;
/* rgb */ color: rgb(81, 55, 217);
/* oklch */ color: oklch(48.0% 0.230 280.6);
Tailwind
colors: {
  custom: {
    50: '#9271e6',
    500: '#5137d9',
    950: '#000000',
  },
}
SCSS
$custom: #5137d9;
$custom-light: #9271e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5137d9",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 249.63,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.23046,
    "h": 280.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#5137D9
secondary
#CED993
accent
#EB3DCF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5137D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5137D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva