#515E8A#515E8A

#515E8A is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.0% C 0.073 H 270.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#515E8A
RGBrgb(81, 94, 138)
HSLhsl(226, 26%, 43%)
HSVhsv(226, 41%, 54%)
CMYKcmyk(41.3%, 31.9%, 0%, 45.9%)
CIE-LABlab(40.56, 6.93, -26.00)
CIE-LCHlch(40.56, 26.91, 284.93°)
OKLaboklab(49% 0.0012 -0.0727)
OKLCHoklch(49% 0.073 270.9)
XYZxyz(11.9821, 11.5891, 25.6454)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E8A #8A7D51
analogous
#517A8A #515E8A #61518A
triadic
#515E8A #8A515E #5E8A51
tetradic
#515E8A #8A517A #8A7D51 #518A61
square
#515E8A #8A517A #8A7D51 #518A61
split-complementary
#515E8A #8A6151 #7A8A51
monochromatic
#24293D #3A4463 #515E8A #6E7CAA #959FC1

Accessibility & contrast

On white

6.33
#515E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#515E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515E8A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E8A#FFFFFF#000000##FFFFFF
##515E8A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#3F676E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515e8a;
/* rgb */ color: rgb(81, 94, 138);
/* oklch */ color: oklch(49.0% 0.073 270.9);
Tailwind
colors: {
  custom: {
    50: '#848bac',
    500: '#515e8a',
    950: '#000000',
  },
}
SCSS
$custom: #515e8a;
$custom-light: #848bac;
$custom-dark: #000000;
JSON
{
  "hex": "#515e8a",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 226.316,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.07268,
    "h": 270.9
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#515E8A
secondary
#AEA589
accent
#AD65C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #515E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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