#515BBC#515BBC

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

Color values

HEX#515BBC
RGBrgb(81, 91, 188)
HSLhsl(234, 44%, 53%)
HSVhsv(234, 57%, 74%)
CMYKcmyk(56.9%, 51.6%, 0%, 26.3%)
CIE-LABlab(42.55, 24.89, -52.51)
CIE-LCHlch(42.55, 58.11, 295.36°)
OKLaboklab(51.44% 0.014 -0.1502)
OKLCHoklch(51.44% 0.151 275.3)
XYZxyz(16.2086, 12.8612, 49.1955)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515BBC #BCB251
analogous
#5190BC #515BBC #7D51BC
triadic
#515BBC #BC515B #5BBC51
tetradic
#515BBC #BC5190 #BCB251 #51BC7D
square
#515BBC #BC5190 #BCB251 #51BC7D
split-complementary
#515BBC #BC7D51 #90BC51
monochromatic
#292F6A #3A4296 #515BBC #7D85CD #A9AEDE

Accessibility & contrast

On white

5.88
#515BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#515BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515BBC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515BBC#FFFFFF#000000##FFFFFF
##515BBC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#107183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515bbc;
/* rgb */ color: rgb(81, 91, 188);
/* oklch */ color: oklch(51.4% 0.151 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d1',
    500: '#515bbc',
    950: '#000000',
  },
}
SCSS
$custom: #515bbc;
$custom-light: #8b89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#515bbc",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 234.393,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.15083,
    "h": 275.3
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#515BBC
secondary
#CCC79D
accent
#C854D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #515BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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