#515B9D#515B9D

#515B9D is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.4% C 0.106 H 275.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#515B9D
RGBrgb(81, 91, 157)
HSLhsl(232, 32%, 47%)
HSVhsv(232, 48%, 62%)
CMYKcmyk(48.4%, 42%, 0%, 38.4%)
CIE-LABlab(40.68, 14.74, -37.22)
CIE-LCHlch(40.68, 40.04, 291.61°)
OKLaboklab(49.41% 0.0098 -0.1053)
OKLCHoklch(49.41% 0.106 275.3)
XYZxyz(13.2183, 11.6651, 33.4468)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B9D #9D9351
analogous
#51819D #515B9D #6D519D
triadic
#515B9D #9D515B #5B9D51
tetradic
#515B9D #9D5181 #9D9351 #519D6D
square
#515B9D #9D5181 #9D9351 #519D6D
split-complementary
#515B9D #9D6D51 #819D51
monochromatic
#272C4C #3C4475 #515B9D #747DB7 #9CA3CC

Accessibility & contrast

On white

6.30
#515B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#515B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515B9D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B9D#FFFFFF#000000##FFFFFF
##515B9D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#356974
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #515b9d;
/* rgb */ color: rgb(81, 91, 157);
/* oklch */ color: oklch(49.4% 0.106 275.3);
Tailwind
colors: {
  custom: {
    50: '#8689ba',
    500: '#515b9d',
    950: '#000000',
  },
}
SCSS
$custom: #515b9d;
$custom-light: #8689ba;
$custom-dark: #000000;
JSON
{
  "hex": "#515b9d",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 157
  },
  "hsl": {
    "h": 232.105,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.10576,
    "h": 275.3
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#515B9D
secondary
#B9B491
accent
#BA60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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