#515ED3#515ED3

#515ED3 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.179 H 274.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#515ED3
RGBrgb(81, 94, 211)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(61.6%, 55.5%, 0%, 17.3%)
CIE-LABlab(44.88, 30.71, -62.04)
CIE-LCHlch(44.88, 69.22, 296.33°)
OKLaboklab(53.68% 0.0123 -0.1782)
OKLCHoklch(53.68% 0.179 274)
XYZxyz(19.1500, 14.4563, 63.3966)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED3 #D3C651
analogous
#519FD3 #515ED3 #8551D3
triadic
#515ED3 #D3515E #5ED351
tetradic
#515ED3 #D3519F #D3C651 #51D385
square
#515ED3 #D3519F #D3C651 #51D385
split-complementary
#515ED3 #D38551 #9FD351
monochromatic
#222C87 #2F3CB8 #515ED3 #828BDF #B3B8EC

Accessibility & contrast

On white

5.40
#515ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#515ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED3#FFFFFF#000000##FFFFFF
##515ED31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515ed3;
/* rgb */ color: rgb(81, 94, 211);
/* oklch */ color: oklch(53.7% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e8be1',
    500: '#515ed3',
    950: '#000000',
  },
}
SCSS
$custom: #515ed3;
$custom-light: #8e8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed3",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 234,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.17859,
    "h": 274
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#515ED3
secondary
#DAD5A6
accent
#D345E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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