#5153D9#5153D9

#5153D9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.200 H 276.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5153D9
RGBrgb(81, 83, 217)
HSLhsl(239, 64%, 58%)
HSVhsv(239, 63%, 85%)
CMYKcmyk(62.7%, 61.8%, 0%, 14.9%)
CIE-LABlab(42.68, 39.46, -69.05)
CIE-LCHlch(42.68, 79.53, 299.75°)
OKLaboklab(52.19% 0.0219 -0.1989)
OKLCHoklch(52.19% 0.2 276.3)
XYZxyz(19.0069, 12.9440, 67.1290)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153D9 #D9D751
analogous
#5197D9 #5153D9 #9351D9
triadic
#5153D9 #D95153 #53D951
tetradic
#5153D9 #D95197 #D9D751 #51D993
square
#5153D9 #D95197 #D9D751 #51D993
split-complementary
#5153D9 #D99351 #97D951
monochromatic
#1F2190 #2A2DC2 #5153D9 #8385E4 #B5B6EF

Accessibility & contrast

On white

5.85
#5153D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5153D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153D9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153D9#FFFFFF#000000##FFFFFF
##5153D91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5153d9;
/* rgb */ color: rgb(81, 83, 217);
/* oklch */ color: oklch(52.2% 0.200 276.3);
Tailwind
colors: {
  custom: {
    50: '#9083e6',
    500: '#5153d9',
    950: '#000000',
  },
}
SCSS
$custom: #5153d9;
$custom-light: #9083e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5153d9",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 217
  },
  "hsl": {
    "h": 239.118,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.20008,
    "h": 276.3
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#5153D9
secondary
#DEDDA8
accent
#E541E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153D9

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

Preview Lab → · Contrast checker → · Palette generator →

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