#515AD7#515AD7

#515AD7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.189 H 274.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#515AD7
RGBrgb(81, 90, 215)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 62%, 84%)
CMYKcmyk(62.3%, 58.1%, 0%, 15.7%)
CIE-LABlab(44.18, 34.52, -65.46)
CIE-LCHlch(44.18, 74.00, 297.81°)
OKLaboklab(53.26% 0.016 -0.1883)
OKLCHoklch(53.26% 0.189 274.9)
XYZxyz(19.3112, 13.9664, 65.9549)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AD7 #D7CE51
analogous
#519DD7 #515AD7 #8B51D7
triadic
#515AD7 #D7515A #5AD751
tetradic
#515AD7 #D7519D #D7CE51 #51D78B
square
#515AD7 #D7519D #D7CE51 #51D78B
split-complementary
#515AD7 #D78B51 #9DD751
monochromatic
#20288D #2C36BF #515AD7 #8389E2 #B5B8EE

Accessibility & contrast

On white

5.54
#515AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#515AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AD7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AD7#FFFFFF#000000##FFFFFF
##515AD71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #515ad7;
/* rgb */ color: rgb(81, 90, 215);
/* oklch */ color: oklch(53.3% 0.189 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f88e4',
    500: '#515ad7',
    950: '#000000',
  },
}
SCSS
$custom: #515ad7;
$custom-light: #8f88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#515ad7",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 235.97,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.18894,
    "h": 274.9
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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