#515DBD#515DBD

#515DBD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.150 H 274.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#515DBD
RGBrgb(81, 93, 189)
HSLhsl(233, 45%, 53%)
HSVhsv(233, 57%, 74%)
CMYKcmyk(57.1%, 50.8%, 0%, 25.9%)
CIE-LABlab(43.14, 23.96, -52.15)
CIE-LCHlch(43.14, 57.39, 294.67°)
OKLaboklab(51.9% 0.012 -0.1491)
OKLCHoklch(51.9% 0.15 274.6)
XYZxyz(16.4900, 13.2510, 49.8230)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DBD #BDB151
analogous
#5193BD #515DBD #7B51BD
triadic
#515DBD #BD515D #5DBD51
tetradic
#515DBD #BD5193 #BDB151 #51BD7B
square
#515DBD #BD5193 #BDB151 #51BD7B
split-complementary
#515DBD #BD7B51 #93BD51
monochromatic
#29306B #394497 #515DBD #7D86CE #AAB0DF

Accessibility & contrast

On white

5.75
#515DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#515DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DBD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DBD#FFFFFF#000000##FFFFFF
##515DBD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC0
Deuteranopia (green-blind)
#1761BB
Tritanopia (blue-blind)
#0D7384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dbd;
/* rgb */ color: rgb(81, 93, 189);
/* oklch */ color: oklch(51.9% 0.150 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad1',
    500: '#515dbd',
    950: '#000000',
  },
}
SCSS
$custom: #515dbd;
$custom-light: #8b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#515dbd",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 233.333,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.14958,
    "h": 274.6
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#515DBD
secondary
#CCC79E
accent
#C653D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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