#515BDE#515BDE

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

Color values

HEX#515BDE
RGBrgb(81, 91, 222)
HSLhsl(236, 68%, 59%)
HSVhsv(236, 64%, 87%)
CMYKcmyk(63.5%, 59%, 0%, 12.9%)
CIE-LABlab(44.95, 36.25, -68.21)
CIE-LCHlch(44.95, 77.24, 297.99°)
OKLaboklab(53.99% 0.0151 -0.1963)
OKLCHoklch(53.99% 0.197 274.4)
XYZxyz(20.3149, 14.5037, 70.8220)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BDE #DED451
analogous
#51A1DE #515BDE #8E51DE
triadic
#515BDE #DE515B #5BDE51
tetradic
#515BDE #DE51A1 #DED451 #51DE8E
square
#515BDE #DE51A1 #DED451 #51DE8E
split-complementary
#515BDE #DE8E51 #A1DE51
monochromatic
#1D2698 #2732CB #515BDE #848BE8 #B8BCF2

Accessibility & contrast

On white

5.38
#515BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#515BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BDE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BDE#FFFFFF#000000##FFFFFF
##515BDE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515bde;
/* rgb */ color: rgb(81, 91, 222);
/* oklch */ color: oklch(54.0% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#9089e9',
    500: '#515bde',
    950: '#000000',
  },
}
SCSS
$custom: #515bde;
$custom-light: #9089e9;
$custom-dark: #000000;
JSON
{
  "hex": "#515bde",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 235.745,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.19691,
    "h": 274.4
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#515BDE
secondary
#E1DDAA
accent
#DF3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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