#515B97#515B97

#515B97 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.1% C 0.097 H 275.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#515B97
RGBrgb(81, 91, 151)
HSLhsl(231, 30%, 45%)
HSVhsv(231, 46%, 59%)
CMYKcmyk(46.4%, 39.7%, 0%, 40.8%)
CIE-LABlab(40.35, 12.84, -34.15)
CIE-LCHlch(40.35, 36.48, 290.61°)
OKLaboklab(49.06% 0.0086 -0.0963)
OKLCHoklch(49.06% 0.097 275.1)
XYZxyz(12.7186, 11.4652, 30.8150)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B97 #978D51
analogous
#517E97 #515B97 #6A5197
triadic
#515B97 #97515B #5B9751
tetradic
#515B97 #97517E #978D51 #51976A
square
#515B97 #97517E #978D51 #51976A
split-complementary
#515B97 #976A51 #7E9751
monochromatic
#262B47 #3C436F #515B97 #727BB3 #9AA0C9

Accessibility & contrast

On white

6.38
#515B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#515B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515B97
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B97#FFFFFF#000000##FFFFFF
##515B971.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#3F5C96
Tritanopia (blue-blind)
#386772
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #515b97;
/* rgb */ color: rgb(81, 91, 151);
/* oklch */ color: oklch(49.1% 0.097 275.1);
Tailwind
colors: {
  custom: {
    50: '#8689b6',
    500: '#515b97',
    950: '#000000',
  },
}
SCSS
$custom: #515b97;
$custom-light: #8689b6;
$custom-dark: #000000;
JSON
{
  "hex": "#515b97",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 231.429,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.0967,
    "h": 275.1
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#515B97
secondary
#B6B08E
accent
#B861C6
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515B97

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

Preview Lab → · Contrast checker → · Palette generator →

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