#515ECD#515ECD

#515ECD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.170 H 274.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#515ECD
RGBrgb(81, 94, 205)
HSLhsl(234, 55%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(60.5%, 54.1%, 0%, 19.6%)
CIE-LABlab(44.46, 28.69, -59.27)
CIE-LCHlch(44.46, 65.85, 295.83°)
OKLaboklab(53.24% 0.0121 -0.17)
OKLCHoklch(53.24% 0.17 274.1)
XYZxyz(18.4119, 14.1611, 59.5089)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ECD #CDC051
analogous
#519CCD #515ECD #8251CD
triadic
#515ECD #CD515E #5ECD51
tetradic
#515ECD #CD519C #CDC051 #51CD82
square
#515ECD #CD519C #CDC051 #51CD82
split-complementary
#515ECD #CD8251 #9CCD51
monochromatic
#252E7F #323FAF #515ECD #818ADB #B0B6E8

Accessibility & contrast

On white

5.48
#515ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#515ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ECD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ECD#FFFFFF#000000##FFFFFF
##515ECD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515ecd;
/* rgb */ color: rgb(81, 94, 205);
/* oklch */ color: oklch(53.2% 0.170 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d8bdd',
    500: '#515ecd',
    950: '#000000',
  },
}
SCSS
$custom: #515ecd;
$custom-light: #8d8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#515ecd",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 233.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.17046,
    "h": 274.1
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#515ECD
secondary
#D7D1A3
accent
#CF49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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