#515BAE#515BAE

#515BAE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.131 H 275.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#515BAE
RGBrgb(81, 91, 174)
HSLhsl(234, 36%, 50%)
HSVhsv(234, 53%, 68%)
CMYKcmyk(53.4%, 47.7%, 0%, 31.8%)
CIE-LABlab(41.67, 20.26, -45.73)
CIE-LCHlch(41.67, 50.02, 293.89°)
OKLaboklab(50.49% 0.0126 -0.1302)
OKLCHoklch(50.49% 0.131 275.5)
XYZxyz(14.7720, 12.2865, 41.6293)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BAE #AEA451
analogous
#518AAE #515BAE #7551AE
triadic
#515BAE #AE515B #5BAE51
tetradic
#515BAE #AE518A #AEA451 #51AE75
square
#515BAE #AE518A #AEA451 #51AE75
split-complementary
#515BAE #AE7551 #8AAE51
monochromatic
#2A2F5A #3E4584 #515BAE #7B82C1 #A5AAD5

Accessibility & contrast

On white

6.07
#515BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#515BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BAE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BAE#FFFFFF#000000##FFFFFF
##515BAE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#266D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515bae;
/* rgb */ color: rgb(81, 91, 174);
/* oklch */ color: oklch(50.5% 0.131 275.5);
Tailwind
colors: {
  custom: {
    50: '#8989c7',
    500: '#515bae',
    950: '#000000',
  },
}
SCSS
$custom: #515bae;
$custom-light: #8989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#515bae",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 233.548,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.13085,
    "h": 275.5
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#515BAE
secondary
#C2BE99
accent
#C05BCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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