#515CB7#515CB7

#515CB7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.142 H 275.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#515CB7
RGBrgb(81, 92, 183)
HSLhsl(234, 41%, 52%)
HSVhsv(234, 56%, 72%)
CMYKcmyk(55.7%, 49.7%, 0%, 28.2%)
CIE-LABlab(42.49, 22.59, -49.69)
CIE-LCHlch(42.49, 54.59, 294.45°)
OKLaboklab(51.29% 0.0125 -0.1419)
OKLCHoklch(51.29% 0.142 275)
XYZxyz(15.7650, 12.8214, 46.4346)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB7 #B7AC51
analogous
#518FB7 #515CB7 #7951B7
triadic
#515CB7 #B7515C #5CB751
tetradic
#515CB7 #B7518F #B7AC51 #51B779
square
#515CB7 #B7518F #B7AC51 #51B779
split-complementary
#515CB7 #B77951 #8FB751
monochromatic
#293064 #3B448F #515CB7 #7C85C9 #A8ADDB

Accessibility & contrast

On white

5.89
#515CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#515CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515CB7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515CB7#FFFFFF#000000##FFFFFF
##515CB71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#1A7081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515cb7;
/* rgb */ color: rgb(81, 92, 183);
/* oklch */ color: oklch(51.3% 0.142 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8acd',
    500: '#515cb7',
    950: '#000000',
  },
}
SCSS
$custom: #515cb7;
$custom-light: #8a8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb7",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 233.529,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.14242,
    "h": 275
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#515CB7
secondary
#C8C39C
accent
#C457D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #515CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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