#515ABE#515ABE

#515ABE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.155 H 275.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#515ABE
RGBrgb(81, 90, 190)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 57%, 75%)
CMYKcmyk(57.4%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.43, 26.18, -53.88)
CIE-LCHlch(42.43, 59.91, 295.92°)
OKLaboklab(51.39% 0.0152 -0.1542)
OKLCHoklch(51.39% 0.155 275.6)
XYZxyz(16.3408, 12.7782, 50.3106)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABE #BEB551
analogous
#5190BE #515ABE #7E51BE
triadic
#515ABE #BE515A #5ABE51
tetradic
#515ABE #BE5190 #BEB551 #51BE7E
square
#515ABE #BE5190 #BEB551 #51BE7E
split-complementary
#515ABE #BE7E51 #90BE51
monochromatic
#282E6C #394199 #515ABE #7E84CF #AAAFDF

Accessibility & contrast

On white

5.91
#515ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#515ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ABE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABE#FFFFFF#000000##FFFFFF
##515ABE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#0360BC
Tritanopia (blue-blind)
#0B7183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515abe;
/* rgb */ color: rgb(81, 90, 190);
/* oklch */ color: oklch(51.4% 0.155 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b88d2',
    500: '#515abe',
    950: '#000000',
  },
}
SCSS
$custom: #515abe;
$custom-light: #8b88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#515abe",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 235.046,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.15496,
    "h": 275.6
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#515ABE
secondary
#CDC99E
accent
#CA53D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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