#515CA4#515CA4

#515CA4 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.115 H 274.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#515CA4
RGBrgb(81, 92, 164)
HSLhsl(232, 34%, 48%)
HSVhsv(232, 51%, 64%)
CMYKcmyk(50.6%, 43.9%, 0%, 35.7%)
CIE-LABlab(41.35, 16.36, -40.33)
CIE-LCHlch(41.35, 43.52, 292.08°)
OKLaboklab(50.05% 0.0099 -0.1144)
OKLCHoklch(50.05% 0.115 274.9)
XYZxyz(13.9192, 12.0831, 36.7136)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CA4 #A49951
analogous
#5185A4 #515CA4 #6F51A4
triadic
#515CA4 #A4515C #5CA451
tetradic
#515CA4 #A45185 #A49951 #51A46F
square
#515CA4 #A45185 #A49951 #51A46F
split-complementary
#515CA4 #A46F51 #85A451
monochromatic
#292E52 #3D457B #515CA4 #7780BC #A0A6D0

Accessibility & contrast

On white

6.15
#515CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#515CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CA4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CA4#FFFFFF#000000##FFFFFF
##515CA41.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A7
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#2F6B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515ca4;
/* rgb */ color: rgb(81, 92, 164);
/* oklch */ color: oklch(50.1% 0.115 274.9);
Tailwind
colors: {
  custom: {
    50: '#878abf',
    500: '#515ca4',
    950: '#000000',
  },
}
SCSS
$custom: #515ca4;
$custom-light: #878abf;
$custom-dark: #000000;
JSON
{
  "hex": "#515ca4",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 232.048,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.11481,
    "h": 274.9
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#515CA4
secondary
#BDB794
accent
#BC5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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