#515EAE#515EAE

#515EAE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.127 H 274.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#515EAE
RGBrgb(81, 94, 174)
HSLhsl(232, 36%, 50%)
HSVhsv(232, 53%, 68%)
CMYKcmyk(53.4%, 46%, 0%, 31.8%)
CIE-LABlab(42.48, 18.36, -44.44)
CIE-LCHlch(42.48, 48.08, 292.44°)
OKLaboklab(51.1% 0.0091 -0.1264)
OKLCHoklch(51.1% 0.127 274.1)
XYZxyz(15.0336, 12.8097, 41.7165)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EAE #AEA151
analogous
#518CAE #515EAE #7351AE
triadic
#515EAE #AE515E #5EAE51
tetradic
#515EAE #AE518C #AEA151 #51AE73
square
#515EAE #AE518C #AEA151 #51AE73
split-complementary
#515EAE #AE7351 #8CAE51
monochromatic
#2A315A #3E4784 #515EAE #7B85C1 #A5ABD5

Accessibility & contrast

On white

5.90
#515EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#515EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EAE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EAE#FFFFFF#000000##FFFFFF
##515EAE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#3061AC
Tritanopia (blue-blind)
#266F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515eae;
/* rgb */ color: rgb(81, 94, 174);
/* oklch */ color: oklch(51.1% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#888bc7',
    500: '#515eae',
    950: '#000000',
  },
}
SCSS
$custom: #515eae;
$custom-light: #888bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#515eae",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 231.613,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.511,
    "c": 0.12675,
    "h": 274.1
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#515EAE
secondary
#C2BC99
accent
#BD5BCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #515EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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