#515DB7#515DB7

#515DB7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.141 H 274.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#515DB7
RGBrgb(81, 93, 183)
HSLhsl(233, 41%, 52%)
HSVhsv(233, 56%, 72%)
CMYKcmyk(55.7%, 49.2%, 0%, 28.2%)
CIE-LABlab(42.76, 21.96, -49.27)
CIE-LCHlch(42.76, 53.94, 294.03°)
OKLaboklab(51.49% 0.0114 -0.1406)
OKLCHoklch(51.49% 0.141 274.6)
XYZxyz(15.8522, 12.9958, 46.4637)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB7 #B7AB51
analogous
#5190B7 #515DB7 #7851B7
triadic
#515DB7 #B7515D #5DB751
tetradic
#515DB7 #B75190 #B7AB51 #51B778
square
#515DB7 #B75190 #B7AB51 #51B778
split-complementary
#515DB7 #B77851 #90B751
monochromatic
#293064 #3B458F #515DB7 #7C85C9 #A8AEDB

Accessibility & contrast

On white

5.83
#515DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#515DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB7#FFFFFF#000000##FFFFFF
##515DB71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#1A7181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515db7;
/* rgb */ color: rgb(81, 93, 183);
/* oklch */ color: oklch(51.5% 0.141 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a8acd',
    500: '#515db7',
    950: '#000000',
  },
}
SCSS
$custom: #515db7;
$custom-light: #8a8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#515db7",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 232.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.14107,
    "h": 274.6
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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