#515BBD#515BBD

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

Color values

HEX#515BBD
RGBrgb(81, 91, 189)
HSLhsl(234, 45%, 53%)
HSVhsv(234, 57%, 74%)
CMYKcmyk(57.1%, 51.9%, 0%, 25.9%)
CIE-LABlab(42.62, 25.22, -52.99)
CIE-LCHlch(42.62, 58.69, 295.45°)
OKLaboklab(51.51% 0.0141 -0.1516)
OKLCHoklch(51.51% 0.152 275.3)
XYZxyz(16.3168, 12.9045, 49.7652)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBD #BDB351
analogous
#5191BD #515BBD #7D51BD
triadic
#515BBD #BD515B #5BBD51
tetradic
#515BBD #BD5191 #BDB351 #51BD7D
square
#515BBD #BD5191 #BDB351 #51BD7D
split-complementary
#515BBD #BD7D51 #91BD51
monochromatic
#292F6B #394297 #515BBD #7D85CE #AAAFDF

Accessibility & contrast

On white

5.86
#515BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#515BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BBD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBD#FFFFFF#000000##FFFFFF
##515BBD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#0E60BB
Tritanopia (blue-blind)
#0E7183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515bbd;
/* rgb */ color: rgb(81, 91, 189);
/* oklch */ color: oklch(51.5% 0.152 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d1',
    500: '#515bbd',
    950: '#000000',
  },
}
SCSS
$custom: #515bbd;
$custom-light: #8b89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#515bbd",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 234.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.15224,
    "h": 275.3
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#515BBD
secondary
#CCC89E
accent
#C953D5
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #515BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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