#515D9D#515D9D

#515D9D is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.8% C 0.103 H 274.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#515D9D
RGBrgb(81, 93, 157)
HSLhsl(231, 32%, 47%)
HSVhsv(231, 48%, 62%)
CMYKcmyk(48.4%, 40.8%, 0%, 38.4%)
CIE-LABlab(41.23, 13.48, -36.34)
CIE-LCHlch(41.23, 38.76, 290.34°)
OKLaboklab(49.84% 0.0073 -0.1027)
OKLCHoklch(49.84% 0.103 274.1)
XYZxyz(13.3916, 12.0116, 33.5046)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D9D #9D9151
analogous
#51839D #515D9D #6B519D
triadic
#515D9D #9D515D #5D9D51
tetradic
#515D9D #9D5183 #9D9151 #519D6B
square
#515D9D #9D5183 #9D9151 #519D6B
split-complementary
#515D9D #9D6B51 #839D51
monochromatic
#272D4C #3C4575 #515D9D #747FB7 #9CA4CC

Accessibility & contrast

On white

6.17
#515D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#515D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515D9D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D9D#FFFFFF#000000##FFFFFF
##515D9D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45659F
Deuteranopia (green-blind)
#3E5E9C
Tritanopia (blue-blind)
#346A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515d9d;
/* rgb */ color: rgb(81, 93, 157);
/* oklch */ color: oklch(49.8% 0.103 274.1);
Tailwind
colors: {
  custom: {
    50: '#868aba',
    500: '#515d9d',
    950: '#000000',
  },
}
SCSS
$custom: #515d9d;
$custom-light: #868aba;
$custom-dark: #000000;
JSON
{
  "hex": "#515d9d",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 230.526,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.10298,
    "h": 274.1
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#515D9D
secondary
#B9B391
accent
#B860C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #515D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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