#515BDB#515BDB

#515BDB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.193 H 274.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#515BDB
RGBrgb(81, 91, 219)
HSLhsl(236, 66%, 59%)
HSVhsv(236, 63%, 86%)
CMYKcmyk(63%, 58.4%, 0%, 14.1%)
CIE-LABlab(44.72, 35.24, -66.86)
CIE-LCHlch(44.72, 75.58, 297.79°)
OKLaboklab(53.75% 0.0151 -0.1924)
OKLCHoklch(53.75% 0.193 274.5)
XYZxyz(19.9164, 14.3443, 68.7233)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BDB #DBD151
analogous
#51A0DB #515BDB #8C51DB
triadic
#515BDB #DB515B #5BDB51
tetradic
#515BDB #DB51A0 #DBD151 #51DB8C
square
#515BDB #DB51A0 #DBD151 #51DB8C
split-complementary
#515BDB #DB8C51 #A0DB51
monochromatic
#1E2793 #2934C6 #515BDB #848BE5 #B6BBF0

Accessibility & contrast

On white

5.43
#515BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#515BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BDB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BDB#FFFFFF#000000##FFFFFF
##515BDB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #515bdb;
/* rgb */ color: rgb(81, 91, 219);
/* oklch */ color: oklch(53.7% 0.193 274.5);
Tailwind
colors: {
  custom: {
    50: '#9089e7',
    500: '#515bdb',
    950: '#000000',
  },
}
SCSS
$custom: #515bdb;
$custom-light: #9089e7;
$custom-dark: #000000;
JSON
{
  "hex": "#515bdb",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 235.652,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.19298,
    "h": 274.5
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#515BDB
secondary
#DFDBA9
accent
#DC3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #515BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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