#515B8A#515B8A

#515B8A is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.077 H 274.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#515B8A
RGBrgb(81, 91, 138)
HSLhsl(229, 26%, 43%)
HSVhsv(229, 41%, 54%)
CMYKcmyk(41.3%, 34.1%, 0%, 45.9%)
CIE-LABlab(39.69, 8.82, -27.35)
CIE-LCHlch(39.69, 28.74, 287.87°)
OKLaboklab(48.33% 0.0054 -0.0766)
OKLCHoklch(48.33% 0.077 274)
XYZxyz(11.7205, 11.0659, 25.5582)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B8A #8A8051
analogous
#51778A #515B8A #64518A
triadic
#515B8A #8A515B #5B8A51
tetradic
#515B8A #8A5177 #8A8051 #518A64
square
#515B8A #8A5177 #8A8051 #518A64
split-complementary
#515B8A #8A6451 #778A51
monochromatic
#24283D #3A4263 #515B8A #6E79AA #959CC1

Accessibility & contrast

On white

6.54
#515B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#515B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515B8A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B8A#FFFFFF#000000##FFFFFF
##515B8A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#475B89
Tritanopia (blue-blind)
#3F646C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #515b8a;
/* rgb */ color: rgb(81, 91, 138);
/* oklch */ color: oklch(48.3% 0.077 274.0);
Tailwind
colors: {
  custom: {
    50: '#8489ac',
    500: '#515b8a',
    950: '#000000',
  },
}
SCSS
$custom: #515b8a;
$custom-light: #8489ac;
$custom-dark: #000000;
JSON
{
  "hex": "#515b8a",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 229.474,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.07677,
    "h": 274
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#515B8A
secondary
#AEA789
accent
#B265C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #515B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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