#515EAA#515EAA

#515EAA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.121 H 274.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#515EAA
RGBrgb(81, 94, 170)
HSLhsl(231, 35%, 49%)
HSVhsv(231, 52%, 67%)
CMYKcmyk(52.4%, 44.7%, 0%, 33.3%)
CIE-LABlab(42.24, 17.04, -42.46)
CIE-LCHlch(42.24, 45.75, 291.87°)
OKLaboklab(50.85% 0.0084 -0.1206)
OKLCHoklch(50.85% 0.121 274)
XYZxyz(14.6494, 12.6561, 39.6933)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EAA #AA9D51
analogous
#518BAA #515EAA #7151AA
triadic
#515EAA #AA515E #5EAA51
tetradic
#515EAA #AA518B #AA9D51 #51AA71
square
#515EAA #AA518B #AA9D51 #51AA71
split-complementary
#515EAA #AA7151 #8BAA51
monochromatic
#2A3057 #3D4781 #515EAA #7983BF #A2AAD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515EAA#FFFFFF#000000##FFFFFF
##515EAA1.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)
#3E68AD
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#2A6E7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515eaa;
/* rgb */ color: rgb(81, 94, 170);
/* oklch */ color: oklch(50.8% 0.121 274.0);
Tailwind
colors: {
  custom: {
    50: '#888bc4',
    500: '#515eaa',
    950: '#000000',
  },
}
SCSS
$custom: #515eaa;
$custom-light: #888bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#515eaa",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 231.236,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.12091,
    "h": 274
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#515EAA
secondary
#C0BA97
accent
#BB5CCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #515EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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