#515BBE#515BBE

#515BBE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.154 H 275.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#515BBE
RGBrgb(81, 91, 190)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 57%, 75%)
CMYKcmyk(57.4%, 52.1%, 0%, 25.5%)
CIE-LABlab(42.68, 25.55, -53.47)
CIE-LCHlch(42.68, 59.26, 295.54°)
OKLaboklab(51.58% 0.0142 -0.153)
OKLCHoklch(51.58% 0.154 275.3)
XYZxyz(16.4257, 12.9480, 50.3389)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBE #BEB451
analogous
#5192BE #515BBE #7D51BE
triadic
#515BBE #BE515B #5BBE51
tetradic
#515BBE #BE5192 #BEB451 #51BE7D
square
#515BBE #BE5192 #BEB451 #51BE7D
split-complementary
#515BBE #BE7D51 #92BE51
monochromatic
#282F6C #394299 #515BBE #7E85CF #AAAFDF

Accessibility & contrast

On white

5.85
#515BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#515BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BBE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBE#FFFFFF#000000##FFFFFF
##515BBE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC1
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#0B7284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515bbe;
/* rgb */ color: rgb(81, 91, 190);
/* oklch */ color: oklch(51.6% 0.154 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d2',
    500: '#515bbe',
    950: '#000000',
  },
}
SCSS
$custom: #515bbe;
$custom-light: #8b89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#515bbe",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 234.495,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.15364,
    "h": 275.3
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#515BBE
secondary
#CDC99E
accent
#C953D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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