#515BD8#515BD8

#515BD8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.189 H 274.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#515BD8
RGBrgb(81, 91, 216)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 63%, 85%)
CMYKcmyk(62.5%, 57.9%, 0%, 15.3%)
CIE-LABlab(44.50, 34.24, -65.51)
CIE-LCHlch(44.50, 73.92, 297.59°)
OKLaboklab(53.51% 0.0151 -0.1884)
OKLCHoklch(53.51% 0.189 274.6)
XYZxyz(19.5250, 14.1878, 66.6620)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BD8 #D8CE51
analogous
#519ED8 #515BD8 #8B51D8
triadic
#515BD8 #D8515B #5BD851
tetradic
#515BD8 #D8519E #D8CE51 #51D88B
square
#515BD8 #D8519E #D8CE51 #51D88B
split-complementary
#515BD8 #D88B51 #9ED851
monochromatic
#20288F #2B36C1 #515BD8 #838AE3 #B5B9EE

Accessibility & contrast

On white

5.47
#515BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#515BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BD8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BD8#FFFFFF#000000##FFFFFF
##515BD81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515bd8;
/* rgb */ color: rgb(81, 91, 216);
/* oklch */ color: oklch(53.5% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f89e5',
    500: '#515bd8',
    950: '#000000',
  },
}
SCSS
$custom: #515bd8;
$custom-light: #8f89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#515bd8",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 235.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.18902,
    "h": 274.6
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#515BD8
secondary
#DDD9A8
accent
#DA41E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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