#515396#515396

#515396 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.107 H 280.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#515396
RGBrgb(81, 83, 150)
HSLhsl(238, 30%, 45%)
HSVhsv(238, 46%, 59%)
CMYKcmyk(46%, 44.7%, 0%, 41.2%)
CIE-LABlab(38.09, 17.63, -37.14)
CIE-LCHlch(38.09, 41.11, 295.39°)
OKLaboklab(47.31% 0.0189 -0.1051)
OKLCHoklch(47.31% 0.107 280.2)
XYZxyz(11.9900, 10.1373, 30.1732)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515396 #969451
analogous
#517596 #515396 #715196
triadic
#515396 #965153 #539651
tetradic
#515396 #965175 #969451 #519671
square
#515396 #965175 #969451 #519671
split-complementary
#515396 #967151 #759651
monochromatic
#262747 #3C3D6E #515396 #7273B3 #999BC8

Accessibility & contrast

On white

6.94
#515396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#515396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515396
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515396#FFFFFF#000000##FFFFFF
##5153961.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#3A616D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515396;
/* rgb */ color: rgb(81, 83, 150);
/* oklch */ color: oklch(47.3% 0.107 280.2);
Tailwind
colors: {
  custom: {
    50: '#8683b5',
    500: '#515396',
    950: '#000000',
  },
}
SCSS
$custom: #515396;
$custom-light: #8683b5;
$custom-dark: #000000;
JSON
{
  "hex": "#515396",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 238.261,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.10678,
    "h": 280.2
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#515396
secondary
#B5B48E
accent
#C362C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #515396

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

Preview Lab → · Contrast checker → · Palette generator →

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