#515CA7#515CA7

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

Color values

HEX#515CA7
RGBrgb(81, 92, 167)
HSLhsl(232, 35%, 49%)
HSVhsv(232, 51%, 65%)
CMYKcmyk(51.5%, 44.9%, 0%, 34.5%)
CIE-LABlab(41.52, 17.33, -41.83)
CIE-LCHlch(41.52, 45.28, 292.51°)
OKLaboklab(50.24% 0.0104 -0.1188)
OKLCHoklch(50.24% 0.119 275)
XYZxyz(14.1933, 12.1928, 38.1573)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CA7 #A79C51
analogous
#5187A7 #515CA7 #7151A7
triadic
#515CA7 #A7515C #5CA751
tetradic
#515CA7 #A75187 #A79C51 #51A771
square
#515CA7 #A75187 #A79C51 #51A771
split-complementary
#515CA7 #A77151 #87A751
monochromatic
#292F55 #3D457E #515CA7 #7881BD #A1A7D1

Accessibility & contrast

On white

6.11
#515CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#515CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CA7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CA7#FFFFFF#000000##FFFFFF
##515CA71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#2D6C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #515ca7;
/* rgb */ color: rgb(81, 92, 167);
/* oklch */ color: oklch(50.2% 0.119 275.0);
Tailwind
colors: {
  custom: {
    50: '#888ac1',
    500: '#515ca7',
    950: '#000000',
  },
}
SCSS
$custom: #515ca7;
$custom-light: #888ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ca7",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 232.326,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.11923,
    "h": 275
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#515CA7
secondary
#BFB995
accent
#BD5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #515CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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