#515ED2#515ED2

#515ED2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.177 H 274.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#515ED2
RGBrgb(81, 94, 210)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 61%, 82%)
CMYKcmyk(61.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(44.81, 30.37, -61.58)
CIE-LCHlch(44.81, 68.66, 296.25°)
OKLaboklab(53.61% 0.0123 -0.1768)
OKLCHoklch(53.61% 0.177 274)
XYZxyz(19.0251, 14.4063, 62.7384)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ED2 #D2C551
analogous
#519FD2 #515ED2 #8451D2
triadic
#515ED2 #D2515E #5ED251
tetradic
#515ED2 #D2519F #D2C551 #51D284
square
#515ED2 #D2519F #D2C551 #51D284
split-complementary
#515ED2 #D28451 #9FD251
monochromatic
#232D86 #2F3DB7 #515ED2 #828BDF #B2B8EB

Accessibility & contrast

On white

5.41
#515ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#515ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ED2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ED2#FFFFFF#000000##FFFFFF
##515ED21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515ed2;
/* rgb */ color: rgb(81, 94, 210);
/* oklch */ color: oklch(53.6% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e8be1',
    500: '#515ed2',
    950: '#000000',
  },
}
SCSS
$custom: #515ed2;
$custom-light: #8e8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#515ed2",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 233.953,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.17725,
    "h": 274
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#515ED2
secondary
#DAD4A5
accent
#D246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #515ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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