#5153AF#5153AF

#5153AF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.143 H 278.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5153AF
RGBrgb(81, 83, 175)
HSLhsl(239, 37%, 50%)
HSVhsv(239, 54%, 69%)
CMYKcmyk(53.7%, 52.6%, 0%, 31.4%)
CIE-LABlab(39.63, 25.66, -49.59)
CIE-LCHlch(39.63, 55.83, 297.36°)
OKLaboklab(48.97% 0.0218 -0.1416)
OKLCHoklch(48.97% 0.143 278.8)
XYZxyz(14.2220, 11.0301, 41.9287)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153AF #AFAD51
analogous
#5182AF #5153AF #7E51AF
triadic
#5153AF #AF5153 #53AF51
tetradic
#5153AF #AF5182 #AFAD51 #51AF7E
square
#5153AF #AF5182 #AFAD51 #51AF7E
split-complementary
#5153AF #AF7E51 #82AF51
monochromatic
#2A2B5C #3D3F85 #5153AF #7B7CC2 #A5A6D6

Accessibility & contrast

On white

6.55
#5153AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5153AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153AF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153AF#FFFFFF#000000##FFFFFF
##5153AF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#276879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5153af;
/* rgb */ color: rgb(81, 83, 175);
/* oklch */ color: oklch(49.0% 0.143 278.8);
Tailwind
colors: {
  custom: {
    50: '#8983c7',
    500: '#5153af',
    950: '#000000',
  },
}
SCSS
$custom: #5153af;
$custom-light: #8983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5153af",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 238.723,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.14332,
    "h": 278.8
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#5153AF
secondary
#C3C299
accent
#CB5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5153AF

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

Preview Lab → · Contrast checker → · Palette generator →

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