#5137DA#5137DA

#5137DA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.1% C 0.232 H 280.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5137DA
RGBrgb(81, 55, 218)
HSLhsl(250, 69%, 54%)
HSVhsv(250, 75%, 85%)
CMYKcmyk(62.8%, 74.8%, 0%, 14.5%)
CIE-LABlab(37.01, 55.48, -78.92)
CIE-LCHlch(37.01, 96.47, 305.11°)
OKLaboklab(48.14% 0.0421 -0.2277)
OKLCHoklch(48.14% 0.232 280.5)
XYZxyz(17.4104, 9.5423, 67.2405)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5137DA #C0DA37
analogous
#376EDA #5137DA #A337DA
triadic
#5137DA #DA5137 #37DA51
tetradic
#5137DA #DA376E #C0DA37 #37DAA3
square
#5137DA #DA376E #C0DA37 #37DAA3
split-complementary
#5137DA #DAA337 #6EDA37
monochromatic
#28187F #3821B3 #5137DA #7E6BE4 #AB9EED

Accessibility & contrast

On white

7.22
#5137DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5137DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5137DA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5137DA#FFFFFF#000000##FFFFFF
##5137DA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5137da;
/* rgb */ color: rgb(81, 55, 218);
/* oklch */ color: oklch(48.1% 0.232 280.5);
Tailwind
colors: {
  custom: {
    50: '#9272e7',
    500: '#5137da',
    950: '#000000',
  },
}
SCSS
$custom: #5137da;
$custom-light: #9272e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5137da",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 249.571,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.2316,
    "h": 280.5
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#5137DA
secondary
#CED993
accent
#EC3CD0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5137DA

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

Preview Lab → · Contrast checker → · Palette generator →

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