#515BDD#515BDD

#515BDD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.196 H 274.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#515BDD
RGBrgb(81, 91, 221)
HSLhsl(236, 67%, 59%)
HSVhsv(236, 63%, 87%)
CMYKcmyk(63.3%, 58.8%, 0%, 13.3%)
CIE-LABlab(44.87, 35.91, -67.76)
CIE-LCHlch(44.87, 76.69, 297.92°)
OKLaboklab(53.91% 0.0151 -0.195)
OKLCHoklch(53.91% 0.196 274.4)
XYZxyz(20.1813, 14.4503, 70.1183)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BDD #DDD351
analogous
#51A1DD #515BDD #8D51DD
triadic
#515BDD #DD515B #5BDD51
tetradic
#515BDD #DD51A1 #DDD351 #51DD8D
square
#515BDD #DD51A1 #DDD351 #51DD8D
split-complementary
#515BDD #DD8D51 #A1DD51
monochromatic
#1D2696 #2733C9 #515BDD #848BE7 #B7BCF1

Accessibility & contrast

On white

5.40
#515BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#515BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BDD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BDD#FFFFFF#000000##FFFFFF
##515BDD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515bdd;
/* rgb */ color: rgb(81, 91, 221);
/* oklch */ color: oklch(53.9% 0.196 274.4);
Tailwind
colors: {
  custom: {
    50: '#9089e8',
    500: '#515bdd',
    950: '#000000',
  },
}
SCSS
$custom: #515bdd;
$custom-light: #9089e8;
$custom-dark: #000000;
JSON
{
  "hex": "#515bdd",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 235.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.1956,
    "h": 274.4
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#515BDD
secondary
#E0DCAA
accent
#DE3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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