#515EB8#515EB8

#515EB8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.141 H 274.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#515EB8
RGBrgb(81, 94, 184)
HSLhsl(232, 42%, 52%)
HSVhsv(232, 56%, 72%)
CMYKcmyk(56%, 48.9%, 0%, 27.8%)
CIE-LABlab(43.08, 21.66, -49.33)
CIE-LCHlch(43.08, 53.87, 293.71°)
OKLaboklab(51.76% 0.0104 -0.1408)
OKLCHoklch(51.76% 0.141 274.2)
XYZxyz(16.0450, 13.2143, 47.0432)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515EB8 #B8AB51
analogous
#5192B8 #515EB8 #7851B8
triadic
#515EB8 #B8515E #5EB851
tetradic
#515EB8 #B85192 #B8AB51 #51B878
square
#515EB8 #B85192 #B8AB51 #51B878
split-complementary
#515EB8 #B87851 #92B851
monochromatic
#293165 #3B4691 #515EB8 #7C86CA #A8AEDB

Accessibility & contrast

On white

5.76
#515EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#515EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515EB8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515EB8#FFFFFF#000000##FFFFFF
##515EB81.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#187282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #515eb8;
/* rgb */ color: rgb(81, 94, 184);
/* oklch */ color: oklch(51.8% 0.141 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8bce',
    500: '#515eb8',
    950: '#000000',
  },
}
SCSS
$custom: #515eb8;
$custom-light: #8a8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#515eb8",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 232.427,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.14115,
    "h": 274.2
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#515EB8
secondary
#C9C39C
accent
#C256D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #515EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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