#515A97#515A97

#515A97 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.8% C 0.098 H 275.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#515A97
RGBrgb(81, 90, 151)
HSLhsl(232, 30%, 45%)
HSVhsv(232, 46%, 59%)
CMYKcmyk(46.4%, 40.4%, 0%, 40.8%)
CIE-LABlab(40.07, 13.48, -34.59)
CIE-LCHlch(40.07, 37.12, 291.28°)
OKLaboklab(48.84% 0.0099 -0.0976)
OKLCHoklch(48.84% 0.098 275.8)
XYZxyz(12.6337, 11.2954, 30.7867)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A97 #978E51
analogous
#517D97 #515A97 #6B5197
triadic
#515A97 #97515A #5A9751
tetradic
#515A97 #97517D #978E51 #51976B
square
#515A97 #97517D #978E51 #51976B
split-complementary
#515A97 #976B51 #7D9751
monochromatic
#262B47 #3C426F #515A97 #727AB3 #9AA0C9

Accessibility & contrast

On white

6.44
#515A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#515A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515A97
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A97#FFFFFF#000000##FFFFFF
##515A971.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#386771
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #515a97;
/* rgb */ color: rgb(81, 90, 151);
/* oklch */ color: oklch(48.8% 0.098 275.8);
Tailwind
colors: {
  custom: {
    50: '#8688b6',
    500: '#515a97',
    950: '#000000',
  },
}
SCSS
$custom: #515a97;
$custom-light: #8688b6;
$custom-dark: #000000;
JSON
{
  "hex": "#515a97",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 232.286,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.09812,
    "h": 275.8
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#515A97
secondary
#B6B18E
accent
#B961C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515A97

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

Preview Lab → · Contrast checker → · Palette generator →

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