#515AC0#515AC0

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

Color values

HEX#515AC0
RGBrgb(81, 90, 192)
HSLhsl(235, 47%, 54%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(57.8%, 53.1%, 0%, 24.7%)
CIE-LABlab(42.56, 26.85, -54.83)
CIE-LCHlch(42.56, 61.05, 296.09°)
OKLaboklab(51.53% 0.0154 -0.157)
OKLCHoklch(51.53% 0.158 275.6)
XYZxyz(16.5609, 12.8662, 51.4697)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515AC0 #C0B751
analogous
#5191C0 #515AC0 #7F51C0
triadic
#515AC0 #C0515A #5AC051
tetradic
#515AC0 #C05191 #C0B751 #51C07F
square
#515AC0 #C05191 #C0B751 #51C07F
split-complementary
#515AC0 #C07F51 #91C051
monochromatic
#282E6F #38409B #515AC0 #7E85D0 #ABAFE1

Accessibility & contrast

On white

5.88
#515AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#515AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515AC0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515AC0#FFFFFF#000000##FFFFFF
##515AC01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#047184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #515ac0;
/* rgb */ color: rgb(81, 90, 192);
/* oklch */ color: oklch(51.5% 0.158 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b88d4',
    500: '#515ac0',
    950: '#000000',
  },
}
SCSS
$custom: #515ac0;
$custom-light: #8b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#515ac0",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 235.135,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.15775,
    "h": 275.6
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#515AC0
secondary
#CECA9F
accent
#CC51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #515AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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