#515ABF#515ABF

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

Color values

HEX#515ABF
RGBrgb(81, 90, 191)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(57.6%, 52.9%, 0%, 25.1%)
CIE-LABlab(42.49, 26.51, -54.36)
CIE-LCHlch(42.49, 60.48, 296.00°)
OKLaboklab(51.46% 0.0153 -0.1556)
OKLCHoklch(51.46% 0.156 275.6)
XYZxyz(16.4504, 12.8221, 50.8881)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515ABF #BFB651
analogous
#5191BF #515ABF #7F51BF
triadic
#515ABF #BF515A #5ABF51
tetradic
#515ABF #BF5191 #BFB651 #51BF7F
square
#515ABF #BF5191 #BFB651 #51BF7F
split-complementary
#515ABF #BF7F51 #91BF51
monochromatic
#282E6D #39419A #515ABF #7E84CF #AAAFE0

Accessibility & contrast

On white

5.89
#515ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515ABF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515ABF#FFFFFF#000000##FFFFFF
##515ABF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#087184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515abf;
/* rgb */ color: rgb(81, 90, 191);
/* oklch */ color: oklch(51.5% 0.156 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b88d3',
    500: '#515abf',
    950: '#000000',
  },
}
SCSS
$custom: #515abf;
$custom-light: #8b88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#515abf",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 235.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.15636,
    "h": 275.6
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#515ABF
secondary
#CECA9E
accent
#CB52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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