#515DAE#515DAE

#515DAE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.128 H 274.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#515DAE
RGBrgb(81, 93, 174)
HSLhsl(232, 36%, 50%)
HSVhsv(232, 53%, 68%)
CMYKcmyk(53.4%, 46.6%, 0%, 31.8%)
CIE-LABlab(42.20, 18.99, -44.87)
CIE-LCHlch(42.20, 48.72, 292.94°)
OKLaboklab(50.9% 0.0102 -0.1277)
OKLCHoklch(50.9% 0.128 274.6)
XYZxyz(14.9452, 12.6330, 41.6871)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DAE #AEA251
analogous
#518CAE #515DAE #7351AE
triadic
#515DAE #AE515D #5DAE51
tetradic
#515DAE #AE518C #AEA251 #51AE73
square
#515DAE #AE518C #AEA251 #51AE73
split-complementary
#515DAE #AE7351 #8CAE51
monochromatic
#2A305A #3E4784 #515DAE #7B84C1 #A5ABD5

Accessibility & contrast

On white

5.95
#515DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#515DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DAE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DAE#FFFFFF#000000##FFFFFF
##515DAE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#266F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515dae;
/* rgb */ color: rgb(81, 93, 174);
/* oklch */ color: oklch(50.9% 0.128 274.6);
Tailwind
colors: {
  custom: {
    50: '#888ac7',
    500: '#515dae',
    950: '#000000',
  },
}
SCSS
$custom: #515dae;
$custom-light: #888ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#515dae",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 232.258,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.12811,
    "h": 274.6
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#515DAE
secondary
#C2BD99
accent
#BE5BCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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