#515ED8#515ED8

#515ED8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.185 H 273.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#515ED8
RGBrgb(81, 94, 216)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(62.5%, 56.5%, 0%, 15.3%)
CIE-LABlab(45.24, 32.39, -64.32)
CIE-LCHlch(45.24, 72.01, 296.73°)
OKLaboklab(54.06% 0.0124 -0.1849)
OKLCHoklch(54.06% 0.185 273.8)
XYZxyz(19.7866, 14.7110, 66.7492)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED8 #D8CB51
analogous
#51A1D8 #515ED8 #8751D8
triadic
#515ED8 #D8515E #5ED851
tetradic
#515ED8 #D851A1 #D8CB51 #51D887
square
#515ED8 #D851A1 #D8CB51 #51D887
split-complementary
#515ED8 #D88751 #A1D851
monochromatic
#202B8F #2B3AC1 #515ED8 #838CE3 #B5BBEE

Accessibility & contrast

On white

5.33
#515ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#515ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED8#FFFFFF#000000##FFFFFF
##515ED81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ed8;
/* rgb */ color: rgb(81, 94, 216);
/* oklch */ color: oklch(54.1% 0.185 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f8be5',
    500: '#515ed8',
    950: '#000000',
  },
}
SCSS
$custom: #515ed8;
$custom-light: #8f8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed8",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 234.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.1853,
    "h": 273.8
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#515ED8
secondary
#DDD8A8
accent
#D741E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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