#515CA3#515CA3

#515CA3 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.113 H 274.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#515CA3
RGBrgb(81, 92, 163)
HSLhsl(232, 34%, 48%)
HSVhsv(232, 50%, 64%)
CMYKcmyk(50.3%, 43.6%, 0%, 36.1%)
CIE-LABlab(41.29, 16.04, -39.83)
CIE-LCHlch(41.29, 42.93, 291.93°)
OKLaboklab(49.99% 0.0097 -0.1129)
OKLCHoklch(49.99% 0.113 274.9)
XYZxyz(13.8293, 12.0471, 36.2398)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CA3 #A39851
analogous
#5185A3 #515CA3 #6F51A3
triadic
#515CA3 #A3515C #5CA351
tetradic
#515CA3 #A35185 #A39851 #51A36F
square
#515CA3 #A35185 #A39851 #51A36F
split-complementary
#515CA3 #A36F51 #85A351
monochromatic
#282E51 #3D457A #515CA3 #767FBB #9FA6CF

Accessibility & contrast

On white

6.16
#515CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#515CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CA3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CA3#FFFFFF#000000##FFFFFF
##515CA31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#306B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #515ca3;
/* rgb */ color: rgb(81, 92, 163);
/* oklch */ color: oklch(50.0% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#878abe',
    500: '#515ca3',
    950: '#000000',
  },
}
SCSS
$custom: #515ca3;
$custom-light: #878abe;
$custom-dark: #000000;
JSON
{
  "hex": "#515ca3",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 231.951,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.11333,
    "h": 274.9
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#515CA3
secondary
#BCB793
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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