#515ED4#515ED4

#515ED4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.180 H 273.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#515ED4
RGBrgb(81, 94, 212)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(61.8%, 55.7%, 0%, 16.9%)
CIE-LABlab(44.95, 31.04, -62.50)
CIE-LCHlch(44.95, 69.78, 296.41°)
OKLaboklab(53.76% 0.0123 -0.1795)
OKLCHoklch(53.76% 0.18 273.9)
XYZxyz(19.2758, 14.5066, 64.0589)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED4 #D4C751
analogous
#519FD4 #515ED4 #8651D4
triadic
#515ED4 #D4515E #5ED451
tetradic
#515ED4 #D4519F #D4C751 #51D486
square
#515ED4 #D4519F #D4C751 #51D486
split-complementary
#515ED4 #D48651 #9FD451
monochromatic
#222C89 #2E3CBA #515ED4 #828BE0 #B3B9EC

Accessibility & contrast

On white

5.38
#515ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#515ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED4#FFFFFF#000000##FFFFFF
##515ED41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515ed4;
/* rgb */ color: rgb(81, 94, 212);
/* oklch */ color: oklch(53.8% 0.180 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e8be2',
    500: '#515ed4',
    950: '#000000',
  },
}
SCSS
$custom: #515ed4;
$custom-light: #8e8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed4",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 234.046,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.17994,
    "h": 273.9
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#515ED4
secondary
#DBD6A6
accent
#D444E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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