#515CB8#515CB8

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

Color values

HEX#515CB8
RGBrgb(81, 92, 184)
HSLhsl(234, 42%, 52%)
HSVhsv(234, 56%, 72%)
CMYKcmyk(56%, 50%, 0%, 27.8%)
CIE-LABlab(42.56, 22.93, -50.17)
CIE-LCHlch(42.56, 55.16, 294.56°)
OKLaboklab(51.36% 0.0126 -0.1433)
OKLCHoklch(51.36% 0.144 275)
XYZxyz(15.8694, 12.8632, 46.9847)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515CB8 #B8AD51
analogous
#5190B8 #515CB8 #7A51B8
triadic
#515CB8 #B8515C #5CB851
tetradic
#515CB8 #B85190 #B8AD51 #51B87A
square
#515CB8 #B85190 #B8AD51 #51B87A
split-complementary
#515CB8 #B87A51 #90B851
monochromatic
#293065 #3B4491 #515CB8 #7C85CA #A8ADDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515CB8#FFFFFF#000000##FFFFFF
##515CB81.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)
#2E69BB
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#187181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515cb8;
/* rgb */ color: rgb(81, 92, 184);
/* oklch */ color: oklch(51.4% 0.144 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a8ace',
    500: '#515cb8',
    950: '#000000',
  },
}
SCSS
$custom: #515cb8;
$custom-light: #8a8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#515cb8",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 233.592,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.14384,
    "h": 275
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#515CB8
secondary
#C9C49C
accent
#C556D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #515CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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