#515ED5#515ED5

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

Color values

HEX#515ED5
RGBrgb(81, 94, 213)
HSLhsl(234, 61%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(62%, 55.9%, 0%, 16.5%)
CIE-LABlab(45.02, 31.38, -62.95)
CIE-LCHlch(45.02, 70.34, 296.49°)
OKLaboklab(53.83% 0.0124 -0.1809)
OKLCHoklch(53.83% 0.181 273.9)
XYZxyz(19.4023, 14.5572, 64.7253)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED5 #D5C851
analogous
#51A0D5 #515ED5 #8651D5
triadic
#515ED5 #D5515E #5ED551
tetradic
#515ED5 #D551A0 #D5C851 #51D586
square
#515ED5 #D551A0 #D5C851 #51D586
split-complementary
#515ED5 #D58651 #A0D551
monochromatic
#212C8A #2D3BBC #515ED5 #828CE1 #B4B9ED

Accessibility & contrast

On white

5.37
#515ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#515ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED5#FFFFFF#000000##FFFFFF
##515ED51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #515ed5;
/* rgb */ color: rgb(81, 94, 213);
/* oklch */ color: oklch(53.8% 0.181 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f8be3',
    500: '#515ed5',
    950: '#000000',
  },
}
SCSS
$custom: #515ed5;
$custom-light: #8f8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed5",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 234.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.18128,
    "h": 273.9
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#515ED5
secondary
#DBD6A6
accent
#D444E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #515ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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