#515596#515596

#515596 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.104 H 279.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#515596
RGBrgb(81, 85, 150)
HSLhsl(237, 30%, 45%)
HSVhsv(237, 46%, 59%)
CMYKcmyk(46%, 43.3%, 0%, 41.2%)
CIE-LABlab(38.63, 16.35, -36.27)
CIE-LCHlch(38.63, 39.78, 294.26°)
OKLaboklab(47.72% 0.0163 -0.1025)
OKLCHoklch(47.72% 0.104 279)
XYZxyz(12.1452, 10.4477, 30.2249)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515596 #969251
analogous
#517796 #515596 #705196
triadic
#515596 #965155 #559651
tetradic
#515596 #965177 #969251 #519670
square
#515596 #965177 #969251 #519670
split-complementary
#515596 #967051 #779651
monochromatic
#262847 #3C3E6E #515596 #7275B3 #999CC8

Accessibility & contrast

On white

6.80
#515596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#515596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515596
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515596#FFFFFF#000000##FFFFFF
##5155961.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E98
Deuteranopia (green-blind)
#385895
Tritanopia (blue-blind)
#3A626E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #515596;
/* rgb */ color: rgb(81, 85, 150);
/* oklch */ color: oklch(47.7% 0.104 279.0);
Tailwind
colors: {
  custom: {
    50: '#8684b5',
    500: '#515596',
    950: '#000000',
  },
}
SCSS
$custom: #515596;
$custom-light: #8684b5;
$custom-dark: #000000;
JSON
{
  "hex": "#515596",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 236.522,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47724,
    "c": 0.10382,
    "h": 279
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#515596
secondary
#B5B38E
accent
#C062C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515596

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

Preview Lab → · Contrast checker → · Palette generator →

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