#5153DA#5153DA

#5153DA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.201 H 276.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5153DA
RGBrgb(81, 83, 218)
HSLhsl(239, 65%, 59%)
HSVhsv(239, 63%, 85%)
CMYKcmyk(62.8%, 61.9%, 0%, 14.5%)
CIE-LABlab(42.76, 39.79, -69.49)
CIE-LCHlch(42.76, 80.08, 299.80°)
OKLaboklab(52.28% 0.0219 -0.2002)
OKLCHoklch(52.28% 0.201 276.2)
XYZxyz(19.1374, 12.9962, 67.8161)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153DA #DAD851
analogous
#5197DA #5153DA #9351DA
triadic
#5153DA #DA5153 #53DA51
tetradic
#5153DA #DA5197 #DAD851 #51DA93
square
#5153DA #DA5197 #DAD851 #51DA93
split-complementary
#5153DA #DA9351 #97DA51
monochromatic
#1F2192 #2A2CC4 #5153DA #8385E5 #B6B7EF

Accessibility & contrast

On white

5.83
#5153DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5153DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153DA#FFFFFF#000000##FFFFFF
##5153DA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5153da;
/* rgb */ color: rgb(81, 83, 218);
/* oklch */ color: oklch(52.3% 0.201 276.2);
Tailwind
colors: {
  custom: {
    50: '#9083e6',
    500: '#5153da',
    950: '#000000',
  },
}
SCSS
$custom: #5153da;
$custom-light: #9083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5153da",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 218
  },
  "hsl": {
    "h": 239.124,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.20137,
    "h": 276.2
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#5153DA
secondary
#DEDEA8
accent
#E540E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153DA

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

Preview Lab → · Contrast checker → · Palette generator →

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