#515ED9#515ED9

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

Color values

HEX#515ED9
RGBrgb(81, 94, 217)
HSLhsl(234, 64%, 58%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(62.7%, 56.7%, 0%, 14.9%)
CIE-LABlab(45.31, 32.72, -64.77)
CIE-LCHlch(45.31, 72.57, 296.80°)
OKLaboklab(54.14% 0.0125 -0.1862)
OKLCHoklch(54.14% 0.187 273.8)
XYZxyz(19.9163, 14.7628, 67.4321)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED9 #D9CC51
analogous
#51A2D9 #515ED9 #8851D9
triadic
#515ED9 #D9515E #5ED951
tetradic
#515ED9 #D951A2 #D9CC51 #51D988
square
#515ED9 #D951A2 #D9CC51 #51D988
split-complementary
#515ED9 #D98851 #A2D951
monochromatic
#1F2A90 #2A39C2 #515ED9 #838CE4 #B5BBEF

Accessibility & contrast

On white

5.31
#515ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#515ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED9#FFFFFF#000000##FFFFFF
##515ED91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ed9;
/* rgb */ color: rgb(81, 94, 217);
/* oklch */ color: oklch(54.1% 0.187 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f8be6',
    500: '#515ed9',
    950: '#000000',
  },
}
SCSS
$custom: #515ed9;
$custom-light: #8f8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed9",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 234.265,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.18664,
    "h": 273.8
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#515ED9
secondary
#DED9A8
accent
#D741E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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