#515ED7#515ED7

#515ED7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.184 H 273.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#515ED7
RGBrgb(81, 94, 215)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(62.3%, 56.3%, 0%, 15.7%)
CIE-LABlab(45.16, 32.05, -63.87)
CIE-LCHlch(45.16, 71.46, 296.65°)
OKLaboklab(53.99% 0.0124 -0.1835)
OKLCHoklch(53.99% 0.184 273.9)
XYZxyz(19.6577, 14.6594, 66.0704)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED7 #D7CA51
analogous
#51A1D7 #515ED7 #8751D7
triadic
#515ED7 #D7515E #5ED751
tetradic
#515ED7 #D751A1 #D7CA51 #51D787
square
#515ED7 #D751A1 #D7CA51 #51D787
split-complementary
#515ED7 #D78751 #A1D751
monochromatic
#202B8D #2C3ABF #515ED7 #838CE2 #B5BAEE

Accessibility & contrast

On white

5.34
#515ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#515ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED7#FFFFFF#000000##FFFFFF
##515ED71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ed7;
/* rgb */ color: rgb(81, 94, 215);
/* oklch */ color: oklch(54.0% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f8be4',
    500: '#515ed7',
    950: '#000000',
  },
}
SCSS
$custom: #515ed7;
$custom-light: #8f8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed7",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 234.179,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.18396,
    "h": 273.9
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#515ED7
secondary
#DDD7A7
accent
#D642E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #515ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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