#515CD9#515CD9

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

Color values

HEX#515CD9
RGBrgb(81, 92, 217)
HSLhsl(235, 64%, 58%)
HSVhsv(235, 63%, 85%)
CMYKcmyk(62.7%, 57.6%, 0%, 14.9%)
CIE-LABlab(44.82, 33.96, -65.57)
CIE-LCHlch(44.82, 73.84, 297.38°)
OKLaboklab(53.77% 0.0142 -0.1886)
OKLCHoklch(53.77% 0.189 274.3)
XYZxyz(19.7407, 14.4117, 67.3736)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CD9 #D9CE51
analogous
#51A0D9 #515CD9 #8A51D9
triadic
#515CD9 #D9515C #5CD951
tetradic
#515CD9 #D951A0 #D9CE51 #51D98A
square
#515CD9 #D951A0 #D9CE51 #51D98A
split-complementary
#515CD9 #D98A51 #A0D951
monochromatic
#1F2990 #2A37C2 #515CD9 #838BE4 #B5BAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515CD9#FFFFFF#000000##FFFFFF
##515CD91.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)
#0070DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515cd9;
/* rgb */ color: rgb(81, 92, 217);
/* oklch */ color: oklch(53.8% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#8f8ae6',
    500: '#515cd9',
    950: '#000000',
  },
}
SCSS
$custom: #515cd9;
$custom-light: #8f8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#515cd9",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 235.147,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53773,
    "c": 0.18911,
    "h": 274.3
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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