#515CA6#515CA6

#515CA6 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.118 H 275.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#515CA6
RGBrgb(81, 92, 166)
HSLhsl(232, 34%, 48%)
HSVhsv(232, 51%, 65%)
CMYKcmyk(51.2%, 44.6%, 0%, 34.9%)
CIE-LABlab(41.46, 17.01, -41.33)
CIE-LCHlch(41.46, 44.69, 292.37°)
OKLaboklab(50.18% 0.0102 -0.1173)
OKLCHoklch(50.18% 0.118 275)
XYZxyz(14.1012, 12.1559, 37.6723)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CA6 #A69B51
analogous
#5186A6 #515CA6 #7051A6
triadic
#515CA6 #A6515C #5CA651
tetradic
#515CA6 #A65186 #A69B51 #51A670
square
#515CA6 #A65186 #A69B51 #51A670
split-complementary
#515CA6 #A67051 #86A651
monochromatic
#292E54 #3D457D #515CA6 #7780BD #A1A7D1

Accessibility & contrast

On white

6.12
#515CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#515CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CA6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CA6#FFFFFF#000000##FFFFFF
##515CA61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#2E6C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515ca6;
/* rgb */ color: rgb(81, 92, 166);
/* oklch */ color: oklch(50.2% 0.118 275.0);
Tailwind
colors: {
  custom: {
    50: '#878ac1',
    500: '#515ca6',
    950: '#000000',
  },
}
SCSS
$custom: #515ca6;
$custom-light: #878ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ca6",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 232.235,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.11776,
    "h": 275
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#515CA6
secondary
#BEB995
accent
#BC5DCA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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