#515BDC#515BDC

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

Color values

HEX#515BDC
RGBrgb(81, 91, 220)
HSLhsl(236, 67%, 59%)
HSVhsv(236, 63%, 86%)
CMYKcmyk(63.2%, 58.6%, 0%, 13.7%)
CIE-LABlab(44.80, 35.58, -67.31)
CIE-LCHlch(44.80, 76.14, 297.86°)
OKLaboklab(53.83% 0.0151 -0.1937)
OKLCHoklch(53.83% 0.194 274.5)
XYZxyz(20.0484, 14.3971, 69.4187)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BDC #DCD251
analogous
#51A1DC #515BDC #8D51DC
triadic
#515BDC #DC515B #5BDC51
tetradic
#515BDC #DC51A1 #DCD251 #51DC8D
square
#515BDC #DC51A1 #DCD251 #51DC8D
split-complementary
#515BDC #DC8D51 #A1DC51
monochromatic
#1E2695 #2834C8 #515BDC #848BE6 #B7BBF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515BDC#FFFFFF#000000##FFFFFF
##515BDC1.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)
#0070E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515bdc;
/* rgb */ color: rgb(81, 91, 220);
/* oklch */ color: oklch(53.8% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#9089e8',
    500: '#515bdc',
    950: '#000000',
  },
}
SCSS
$custom: #515bdc;
$custom-light: #9089e8;
$custom-dark: #000000;
JSON
{
  "hex": "#515bdc",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 235.683,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.1943,
    "h": 274.5
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#515BDC
secondary
#E0DCA9
accent
#DD3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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