#515DB8#515DB8

#515DB8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.142 H 274.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#515DB8
RGBrgb(81, 93, 184)
HSLhsl(233, 42%, 52%)
HSVhsv(233, 56%, 72%)
CMYKcmyk(56%, 49.5%, 0%, 27.8%)
CIE-LABlab(42.82, 22.29, -49.75)
CIE-LCHlch(42.82, 54.52, 294.14°)
OKLaboklab(51.56% 0.0115 -0.142)
OKLCHoklch(51.56% 0.142 274.6)
XYZxyz(15.9566, 13.0376, 47.0138)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515DB8 #B8AC51
analogous
#5191B8 #515DB8 #7951B8
triadic
#515DB8 #B8515D #5DB851
tetradic
#515DB8 #B85191 #B8AC51 #51B879
square
#515DB8 #B85191 #B8AC51 #51B879
split-complementary
#515DB8 #B87951 #91B851
monochromatic
#293065 #3B4591 #515DB8 #7C85CA #A8AEDB

Accessibility & contrast

On white

5.82
#515DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#515DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515DB8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515DB8#FFFFFF#000000##FFFFFF
##515DB81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#187182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #515db8;
/* rgb */ color: rgb(81, 93, 184);
/* oklch */ color: oklch(51.6% 0.142 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ace',
    500: '#515db8',
    950: '#000000',
  },
}
SCSS
$custom: #515db8;
$custom-light: #8a8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#515db8",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 233.01,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.14249,
    "h": 274.6
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #515DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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