#515B95#515B95

#515B95 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.094 H 275.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#515B95
RGBrgb(81, 91, 149)
HSLhsl(231, 30%, 45%)
HSVhsv(231, 46%, 58%)
CMYKcmyk(45.6%, 38.9%, 0%, 41.6%)
CIE-LABlab(40.25, 12.21, -33.12)
CIE-LCHlch(40.25, 35.30, 290.24°)
OKLaboklab(48.94% 0.0081 -0.0933)
OKLCHoklch(48.94% 0.094 275)
XYZxyz(12.5576, 11.4008, 29.9668)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B95 #958B51
analogous
#517D95 #515B95 #695195
triadic
#515B95 #95515B #5B9551
tetradic
#515B95 #95517D #958B51 #519569
square
#515B95 #95517D #958B51 #519569
split-complementary
#515B95 #956951 #7D9551
monochromatic
#262B46 #3B436D #515B95 #717BB2 #99A0C7

Accessibility & contrast

On white

6.40
#515B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#515B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515B95
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B95#FFFFFF#000000##FFFFFF
##515B951.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#396771
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515b95;
/* rgb */ color: rgb(81, 91, 149);
/* oklch */ color: oklch(48.9% 0.094 275.0);
Tailwind
colors: {
  custom: {
    50: '#8589b4',
    500: '#515b95',
    950: '#000000',
  },
}
SCSS
$custom: #515b95;
$custom-light: #8589b4;
$custom-dark: #000000;
JSON
{
  "hex": "#515b95",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 231.176,
    "s": 29.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.09367,
    "h": 275
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#515B95
secondary
#B4AF8D
accent
#B762C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515B95

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

Preview Lab → · Contrast checker → · Palette generator →

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