#5153B0#5153B0

#5153B0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.145 H 278.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5153B0
RGBrgb(81, 83, 176)
HSLhsl(239, 38%, 50%)
HSVhsv(239, 54%, 69%)
CMYKcmyk(54%, 52.8%, 0%, 31%)
CIE-LABlab(39.70, 25.98, -50.07)
CIE-LCHlch(39.70, 56.41, 297.43°)
OKLaboklab(49.04% 0.0219 -0.1431)
OKLCHoklch(49.04% 0.145 278.7)
XYZxyz(14.3206, 11.0695, 42.4479)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153B0 #B0AE51
analogous
#5182B0 #5153B0 #7E51B0
triadic
#5153B0 #B05153 #53B051
tetradic
#5153B0 #B05182 #B0AE51 #51B07E
square
#5153B0 #B05182 #B0AE51 #51B07E
split-complementary
#5153B0 #B07E51 #82B051
monochromatic
#2A2B5D #3D3F87 #5153B0 #7B7DC3 #A5A6D6

Accessibility & contrast

On white

6.53
#5153B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5153B0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153B0#FFFFFF#000000##FFFFFF
##5153B01.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#115AAE
Tritanopia (blue-blind)
#266879
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5153b0;
/* rgb */ color: rgb(81, 83, 176);
/* oklch */ color: oklch(49.0% 0.145 278.7);
Tailwind
colors: {
  custom: {
    50: '#8983c8',
    500: '#5153b0',
    950: '#000000',
  },
}
SCSS
$custom: #5153b0;
$custom-light: #8983c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5153b0",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 176
  },
  "hsl": {
    "h": 238.737,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.14473,
    "h": 278.7
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#5153B0
secondary
#C4C399
accent
#CB5ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5153B0

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

Preview Lab → · Contrast checker → · Palette generator →

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