#515ABD#515ABD

#515ABD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.154 H 275.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#515ABD
RGBrgb(81, 90, 189)
HSLhsl(235, 45%, 53%)
HSVhsv(235, 57%, 74%)
CMYKcmyk(57.1%, 52.4%, 0%, 25.9%)
CIE-LABlab(42.36, 25.85, -53.41)
CIE-LCHlch(42.36, 59.33, 295.83°)
OKLaboklab(51.32% 0.0152 -0.1528)
OKLCHoklch(51.32% 0.154 275.7)
XYZxyz(16.2319, 12.7346, 49.7369)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABD #BDB451
analogous
#5190BD #515ABD #7E51BD
triadic
#515ABD #BD515A #5ABD51
tetradic
#515ABD #BD5190 #BDB451 #51BD7E
square
#515ABD #BD5190 #BDB451 #51BD7E
split-complementary
#515ABD #BD7E51 #90BD51
monochromatic
#292E6B #394197 #515ABD #7D84CE #AAAEDF

Accessibility & contrast

On white

5.92
#515ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#515ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515ABD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABD#FFFFFF#000000##FFFFFF
##515ABD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C0
Deuteranopia (green-blind)
#0760BB
Tritanopia (blue-blind)
#0E7183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515abd;
/* rgb */ color: rgb(81, 90, 189);
/* oklch */ color: oklch(51.3% 0.154 275.7);
Tailwind
colors: {
  custom: {
    50: '#8b88d1',
    500: '#515abd',
    950: '#000000',
  },
}
SCSS
$custom: #515abd;
$custom-light: #8b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#515abd",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 235,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.15356,
    "h": 275.7
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#515ABD
secondary
#CCC89E
accent
#CA53D5
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #515ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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