#515AD8#515AD8

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

Color values

HEX#515AD8
RGBrgb(81, 90, 216)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 63%, 85%)
CMYKcmyk(62.5%, 58.3%, 0%, 15.3%)
CIE-LABlab(44.26, 34.86, -65.91)
CIE-LCHlch(44.26, 74.56, 297.87°)
OKLaboklab(53.34% 0.016 -0.1896)
OKLCHoklch(53.34% 0.19 274.8)
XYZxyz(19.4401, 14.0179, 66.6337)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AD8 #D8CF51
analogous
#519DD8 #515AD8 #8B51D8
triadic
#515AD8 #D8515A #5AD851
tetradic
#515AD8 #D8519D #D8CF51 #51D88B
square
#515AD8 #D8519D #D8CF51 #51D88B
split-complementary
#515AD8 #D88B51 #9DD851
monochromatic
#20278F #2B35C1 #515AD8 #8389E3 #B5B9EE

Accessibility & contrast

On white

5.52
#515AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#515AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AD8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AD8#FFFFFF#000000##FFFFFF
##515AD81.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515ad8;
/* rgb */ color: rgb(81, 90, 216);
/* oklch */ color: oklch(53.3% 0.190 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f88e5',
    500: '#515ad8',
    950: '#000000',
  },
}
SCSS
$custom: #515ad8;
$custom-light: #8f88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#515ad8",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 236,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.19026,
    "h": 274.8
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#515AD8
secondary
#DDDAA8
accent
#DB41E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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