---
title: "#540BA8 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #540BA8 — RGB(84, 11, 168), HSL(268, 88%, 35%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/540ba8
---
Custom color

# #540BA8

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

268°

Sat

88%

Light

35%

Shades & tints

CSS variables

CSS

```
/* #540BA8 */
:root {
  --color--540ba8: #540BA8;
  --color--540ba8-rgb: 84, 11, 168;
  --color--540ba8-hsl: 268, 88%, 35%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#540BA8

#5EA80B

Analogous

#0B10A8

#540BA8

#A30BA8

Triadic

#540BA8

#A8540B

#0BA854

Split complementary

#540BA8

#A8A30B

#10A80B

WCAG contrast

Aa

The quick brown fox.

10.55

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.99

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Windsor

#3C0878

Kingfisher Daisy

#3E0480

Blue Diamond

#380474

Christalle

#33036B

Cherry Pie

#2A0359

Jaguar

#080110

Paris M

#26056A

Paua

#260368

Pigment Indigo

#4B0082

Violet

#240A40

Daisy Bush

#4F2398

Electric Violet

#8B00FF

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
