#515BD7#515BD7

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

Color values

HEX#515BD7
RGBrgb(81, 91, 215)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 62%, 84%)
CMYKcmyk(62.3%, 57.7%, 0%, 15.7%)
CIE-LABlab(44.43, 33.91, -65.06)
CIE-LCHlch(44.43, 73.37, 297.53°)
OKLaboklab(53.44% 0.0151 -0.1871)
OKLCHoklch(53.44% 0.188 274.6)
XYZxyz(19.3961, 14.1362, 65.9832)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD7 #D7CD51
analogous
#519ED7 #515BD7 #8A51D7
triadic
#515BD7 #D7515B #5BD751
tetradic
#515BD7 #D7519E #D7CD51 #51D78A
square
#515BD7 #D7519E #D7CD51 #51D78A
split-complementary
#515BD7 #D78A51 #9ED751
monochromatic
#20298D #2C37BF #515BD7 #838AE2 #B5B9EE

Accessibility & contrast

On white

5.49
#515BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#515BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD7#FFFFFF#000000##FFFFFF
##515BD71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515bd7;
/* rgb */ color: rgb(81, 91, 215);
/* oklch */ color: oklch(53.4% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f89e4',
    500: '#515bd7',
    950: '#000000',
  },
}
SCSS
$custom: #515bd7;
$custom-light: #8f89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd7",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 235.522,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.1877,
    "h": 274.6
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#515BD7
secondary
#DDD9A7
accent
#D942E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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