#515AD9#515AD9

#515AD9 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.192 H 274.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#515AD9
RGBrgb(81, 90, 217)
HSLhsl(236, 64%, 58%)
HSVhsv(236, 63%, 85%)
CMYKcmyk(62.7%, 58.5%, 0%, 14.9%)
CIE-LABlab(44.33, 35.19, -66.36)
CIE-LCHlch(44.33, 75.11, 297.94°)
OKLaboklab(53.41% 0.016 -0.1909)
OKLCHoklch(53.41% 0.192 274.8)
XYZxyz(19.5698, 14.0698, 67.3166)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AD9 #D9D051
analogous
#519ED9 #515AD9 #8C51D9
triadic
#515AD9 #D9515A #5AD951
tetradic
#515AD9 #D9519E #D9D051 #51D98C
square
#515AD9 #D9519E #D9D051 #51D98C
split-complementary
#515AD9 #D98C51 #9ED951
monochromatic
#1F2790 #2A34C2 #515AD9 #838AE4 #B5B9EF

Accessibility & contrast

On white

5.51
#515AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#515AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AD9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AD9#FFFFFF#000000##FFFFFF
##515AD91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #515ad9;
/* rgb */ color: rgb(81, 90, 217);
/* oklch */ color: oklch(53.4% 0.192 274.8);
Tailwind
colors: {
  custom: {
    50: '#9088e6',
    500: '#515ad9',
    950: '#000000',
  },
}
SCSS
$custom: #515ad9;
$custom-light: #9088e6;
$custom-dark: #000000;
JSON
{
  "hex": "#515ad9",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 236.029,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.19158,
    "h": 274.8
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#515AD9
secondary
#DEDAA8
accent
#DC41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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