#515DBE#515DBE

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

Color values

HEX#515DBE
RGBrgb(81, 93, 190)
HSLhsl(233, 46%, 53%)
HSVhsv(233, 57%, 75%)
CMYKcmyk(57.4%, 51.1%, 0%, 25.5%)
CIE-LABlab(43.20, 24.29, -52.63)
CIE-LCHlch(43.20, 57.97, 294.78°)
OKLaboklab(51.97% 0.0121 -0.1505)
OKLCHoklch(51.97% 0.151 274.6)
XYZxyz(16.5989, 13.2945, 50.3966)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DBE #BEB251
analogous
#5194BE #515DBE #7B51BE
triadic
#515DBE #BE515D #5DBE51
tetradic
#515DBE #BE5194 #BEB251 #51BE7B
square
#515DBE #BE5194 #BEB251 #51BE7B
split-complementary
#515DBE #BE7B51 #94BE51
monochromatic
#28306C #394499 #515DBE #7E86CF #AAB0DF

Accessibility & contrast

On white

5.74
#515DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#515DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DBE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DBE#FFFFFF#000000##FFFFFF
##515DBE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#097384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515dbe;
/* rgb */ color: rgb(81, 93, 190);
/* oklch */ color: oklch(52.0% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad2',
    500: '#515dbe',
    950: '#000000',
  },
}
SCSS
$custom: #515dbe;
$custom-light: #8b8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#515dbe",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 233.394,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.15098,
    "h": 274.6
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#515DBE
secondary
#CDC89E
accent
#C753D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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