#515AA5#515AA5

#515AA5 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.7% C 0.119 H 276.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#515AA5
RGBrgb(81, 90, 165)
HSLhsl(234, 34%, 48%)
HSVhsv(234, 51%, 65%)
CMYKcmyk(50.9%, 45.5%, 0%, 35.3%)
CIE-LABlab(40.86, 17.95, -41.70)
CIE-LCHlch(40.86, 45.40, 293.30°)
OKLaboklab(49.7% 0.0125 -0.1184)
OKLCHoklch(49.7% 0.119 276)
XYZxyz(13.8389, 11.7774, 37.1341)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AA5 #A59C51
analogous
#5184A5 #515AA5 #7251A5
triadic
#515AA5 #A5515A #5AA551
tetradic
#515AA5 #A55184 #A59C51 #51A572
square
#515AA5 #A55184 #A59C51 #51A572
split-complementary
#515AA5 #A57251 #84A551
monochromatic
#292D53 #3D447C #515AA5 #777EBC #A0A5D0

Accessibility & contrast

On white

6.26
#515AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#515AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AA5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AA5#FFFFFF#000000##FFFFFF
##515AA51.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#2F6A77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515aa5;
/* rgb */ color: rgb(81, 90, 165);
/* oklch */ color: oklch(49.7% 0.119 276.0);
Tailwind
colors: {
  custom: {
    50: '#8788c0',
    500: '#515aa5',
    950: '#000000',
  },
}
SCSS
$custom: #515aa5;
$custom-light: #8788c0;
$custom-dark: #000000;
JSON
{
  "hex": "#515aa5",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 233.571,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.11907,
    "h": 276
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#515AA5
secondary
#BDB994
accent
#BF5ECA
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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