#515BAD#515BAD

#515BAD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.129 H 275.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#515BAD
RGBrgb(81, 91, 173)
HSLhsl(233, 36%, 50%)
HSVhsv(233, 53%, 68%)
CMYKcmyk(53.2%, 47.4%, 0%, 32.2%)
CIE-LABlab(41.61, 19.93, -45.24)
CIE-LCHlch(41.61, 49.43, 293.77°)
OKLaboklab(50.42% 0.0124 -0.1288)
OKLCHoklch(50.42% 0.129 275.5)
XYZxyz(14.6749, 12.2477, 41.1178)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BAD #ADA351
analogous
#5189AD #515BAD #7551AD
triadic
#515BAD #AD515B #5BAD51
tetradic
#515BAD #AD5189 #ADA351 #51AD75
square
#515BAD #AD5189 #ADA351 #51AD75
split-complementary
#515BAD #AD7551 #89AD51
monochromatic
#2A2F5A #3D4583 #515BAD #7A82C1 #A4A9D4

Accessibility & contrast

On white

6.09
#515BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#515BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BAD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BAD#FFFFFF#000000##FFFFFF
##515BAD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#2C5FAB
Tritanopia (blue-blind)
#276D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515bad;
/* rgb */ color: rgb(81, 91, 173);
/* oklch */ color: oklch(50.4% 0.129 275.5);
Tailwind
colors: {
  custom: {
    50: '#8889c6',
    500: '#515bad',
    950: '#000000',
  },
}
SCSS
$custom: #515bad;
$custom-light: #8889c6;
$custom-dark: #000000;
JSON
{
  "hex": "#515bad",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 233.478,
    "s": 36.22,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.12939,
    "h": 275.5
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#515BAD
secondary
#C2BD98
accent
#C05CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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