#515ABA#515ABA

#515ABA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.149 H 275.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#515ABA
RGBrgb(81, 90, 186)
HSLhsl(235, 43%, 52%)
HSVhsv(235, 56%, 73%)
CMYKcmyk(56.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(42.16, 24.85, -51.98)
CIE-LCHlch(42.16, 57.61, 295.56°)
OKLaboklab(51.11% 0.0149 -0.1486)
OKLCHoklch(51.11% 0.149 275.7)
XYZxyz(15.9096, 12.6057, 48.0396)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABA #BAB151
analogous
#518FBA #515ABA #7C51BA
triadic
#515ABA #BA515A #5ABA51
tetradic
#515ABA #BA518F #BAB151 #51BA7C
square
#515ABA #BA518F #BAB151 #51BA7C
split-complementary
#515ABA #BA7C51 #8FBA51
monochromatic
#292E68 #3A4293 #515ABA #7D84CB #A9ADDD

Accessibility & contrast

On white

5.96
#515ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#515ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ABA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABA#FFFFFF#000000##FFFFFF
##515ABA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#135FB8
Tritanopia (blue-blind)
#157081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #515aba;
/* rgb */ color: rgb(81, 90, 186);
/* oklch */ color: oklch(51.1% 0.149 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a88cf',
    500: '#515aba',
    950: '#000000',
  },
}
SCSS
$custom: #515aba;
$custom-light: #8a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#515aba",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 234.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.14935,
    "h": 275.7
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#515ABA
secondary
#CAC69D
accent
#C855D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515ABA

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

Preview Lab → · Contrast checker → · Palette generator →

#515ABA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva