#515C8A#515C8A

#515C8A is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.6% C 0.075 H 273.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#515C8A
RGBrgb(81, 92, 138)
HSLhsl(228, 26%, 43%)
HSVhsv(228, 41%, 54%)
CMYKcmyk(41.3%, 33.3%, 0%, 45.9%)
CIE-LABlab(39.98, 8.19, -26.90)
CIE-LCHlch(39.98, 28.12, 286.93°)
OKLaboklab(48.55% 0.004 -0.0753)
OKLCHoklch(48.55% 0.075 273)
XYZxyz(11.8066, 11.2381, 25.5869)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C8A #8A7F51
analogous
#51788A #515C8A #62518A
triadic
#515C8A #8A515C #5C8A51
tetradic
#515C8A #8A5178 #8A7F51 #518A62
square
#515C8A #8A5178 #8A7F51 #518A62
split-complementary
#515C8A #8A6251 #788A51
monochromatic
#24293D #3A4263 #515C8A #6E7AAA #959DC1

Accessibility & contrast

On white

6.47
#515C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#515C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515C8A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C8A#FFFFFF#000000##FFFFFF
##515C8A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#3F656D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #515c8a;
/* rgb */ color: rgb(81, 92, 138);
/* oklch */ color: oklch(48.6% 0.075 273.0);
Tailwind
colors: {
  custom: {
    50: '#848aac',
    500: '#515c8a',
    950: '#000000',
  },
}
SCSS
$custom: #515c8a;
$custom-light: #848aac;
$custom-dark: #000000;
JSON
{
  "hex": "#515c8a",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 228.421,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.07539,
    "h": 273
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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