#515992#515992

#515992 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.3% C 0.092 H 276.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#515992
RGBrgb(81, 89, 146)
HSLhsl(233, 29%, 45%)
HSVhsv(233, 45%, 57%)
CMYKcmyk(44.5%, 39%, 0%, 42.7%)
CIE-LABlab(39.53, 12.55, -32.45)
CIE-LCHlch(39.53, 34.79, 291.14°)
OKLaboklab(48.34% 0.0101 -0.0914)
OKLCHoklch(48.34% 0.092 276.3)
XYZxyz(12.1525, 10.9688, 28.6654)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515992 #928A51
analogous
#517A92 #515992 #6A5192
triadic
#515992 #925159 #599251
tetradic
#515992 #92517A #928A51 #51926A
square
#515992 #92517A #928A51 #51926A
split-complementary
#515992 #926A51 #7A9251
monochromatic
#252943 #3B416B #515992 #7078B0 #989DC6

Accessibility & contrast

On white

6.58
#515992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#515992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515992
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515992#FFFFFF#000000##FFFFFF
##5159921.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456094
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#3B656E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #515992;
/* rgb */ color: rgb(81, 89, 146);
/* oklch */ color: oklch(48.3% 0.092 276.3);
Tailwind
colors: {
  custom: {
    50: '#8587b2',
    500: '#515992',
    950: '#000000',
  },
}
SCSS
$custom: #515992;
$custom-light: #8587b2;
$custom-dark: #000000;
JSON
{
  "hex": "#515992",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 232.615,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.09192,
    "h": 276.3
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#515992
secondary
#B3AE8C
accent
#B963C5
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515992

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

Preview Lab → · Contrast checker → · Palette generator →

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