#515996#515996

#515996 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.098 H 276.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#515996
RGBrgb(81, 89, 150)
HSLhsl(233, 30%, 45%)
HSVhsv(233, 46%, 59%)
CMYKcmyk(46%, 40.7%, 0%, 41.2%)
CIE-LABlab(39.74, 13.80, -34.52)
CIE-LCHlch(39.74, 37.17, 291.79°)
OKLaboklab(48.57% 0.011 -0.0974)
OKLCHoklch(48.57% 0.098 276.4)
XYZxyz(12.4691, 11.0955, 30.3329)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515996 #968E51
analogous
#517C96 #515996 #6B5196
triadic
#515996 #965159 #599651
tetradic
#515996 #96517C #968E51 #51966B
square
#515996 #96517C #968E51 #51966B
split-complementary
#515996 #966B51 #7C9651
monochromatic
#262A47 #3C416E #515996 #7279B3 #999FC8

Accessibility & contrast

On white

6.52
#515996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#515996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515996
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515996#FFFFFF#000000##FFFFFF
##5159961.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#396670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #515996;
/* rgb */ color: rgb(81, 89, 150);
/* oklch */ color: oklch(48.6% 0.098 276.4);
Tailwind
colors: {
  custom: {
    50: '#8587b5',
    500: '#515996',
    950: '#000000',
  },
}
SCSS
$custom: #515996;
$custom-light: #8587b5;
$custom-dark: #000000;
JSON
{
  "hex": "#515996",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 150
  },
  "hsl": {
    "h": 233.043,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.09802,
    "h": 276.4
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#515996
secondary
#B5B08E
accent
#BA62C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515996

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

Preview Lab → · Contrast checker → · Palette generator →

#515996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva