#5153AB#5153AB

#5153AB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.138 H 279.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5153AB
RGBrgb(81, 83, 171)
HSLhsl(239, 36%, 49%)
HSVhsv(239, 53%, 67%)
CMYKcmyk(52.6%, 51.5%, 0%, 32.9%)
CIE-LABlab(39.37, 24.35, -47.64)
CIE-LCHlch(39.37, 53.51, 297.08°)
OKLaboklab(48.69% 0.0215 -0.1359)
OKLCHoklch(48.69% 0.138 279)
XYZxyz(13.8350, 10.8753, 39.8903)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153AB #ABA951
analogous
#5180AB #5153AB #7C51AB
triadic
#5153AB #AB5153 #53AB51
tetradic
#5153AB #AB5180 #ABA951 #51AB7C
square
#5153AB #AB5180 #ABA951 #51AB7C
split-complementary
#5153AB #AB7C51 #80AB51
monochromatic
#2A2B58 #3D3F81 #5153AB #797BC0 #A3A4D3

Accessibility & contrast

On white

6.61
#5153AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5153AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153AB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153AB#FFFFFF#000000##FFFFFF
##5153AB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#2B6677
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5153ab;
/* rgb */ color: rgb(81, 83, 171);
/* oklch */ color: oklch(48.7% 0.138 279.0);
Tailwind
colors: {
  custom: {
    50: '#8983c4',
    500: '#5153ab',
    950: '#000000',
  },
}
SCSS
$custom: #5153ab;
$custom-light: #8983c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5153ab",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 238.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.13762,
    "h": 279
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#5153AB
secondary
#C1C097
accent
#C95CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5153AB

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

Preview Lab → · Contrast checker → · Palette generator →

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