#5153E7#5153E7

#5153E7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.218 H 275.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5153E7
RGBrgb(81, 83, 231)
HSLhsl(239, 76%, 61%)
HSVhsv(239, 65%, 91%)
CMYKcmyk(64.9%, 64.1%, 0%, 9.4%)
CIE-LABlab(43.80, 44.04, -75.17)
CIE-LCHlch(43.80, 87.12, 300.36°)
OKLaboklab(53.37% 0.021 -0.2168)
OKLCHoklch(53.37% 0.218 275.5)
XYZxyz(20.9057, 13.7036, 77.1292)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153E7 #E7E551
analogous
#519EE7 #5153E7 #9A51E7
triadic
#5153E7 #E75153 #53E751
tetradic
#5153E7 #E7519E #E7E551 #51E79A
square
#5153E7 #E7519E #E7E551 #51E79A
split-complementary
#5153E7 #E79A51 #9EE751
monochromatic
#1719A7 #1E21DC #5153E7 #8788EE #BDBDF6

Accessibility & contrast

On white

5.61
#5153E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5153E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153E7#FFFFFF#000000##FFFFFF
##5153E71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5153e7;
/* rgb */ color: rgb(81, 83, 231);
/* oklch */ color: oklch(53.4% 0.218 275.5);
Tailwind
colors: {
  custom: {
    50: '#9384f0',
    500: '#5153e7',
    950: '#000000',
  },
}
SCSS
$custom: #5153e7;
$custom-light: #9384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5153e7",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 239.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.21785,
    "h": 275.5
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#5153E7
secondary
#E6E5AE
accent
#D50ED8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5153E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5153E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva