# #504798 color: Liberty

#504798 is rgb(80, 71, 152) in RGB and oklch(44.969% 0.12781 285.082) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504798

## Formats

| Format | Value |
| --- | --- |
| HEX | #504798 |
| RGB | rgb(80, 71, 152) |
| HSL | hsl(246.67, 36.32%, 43.73%) |
| HSB / HSV | hsv(246.67 53.29% 59.61%) |
| HWB | hwb(246.67 27.84% 40.39%) |
| CMYK | cmyk(47% 53% 0% 40%) |
| Lab | lab(34.41 20.86 -44.01) |
| LCH | lch(34.41 48.71 295.36) |
| OKLab | oklab(44.969% 0.03326 -0.12341) |
| OKLCH | oklch(44.969% 0.12781 285.082) |
| Display P3 | color(display-p3 0.30781 0.27969 0.57652) |
| Rec. 2020 | color(rec2020 0.26262 0.22654 0.5286) |
| Adobe RGB | color(a98-rgb 0.30854 0.2845 0.58162) |
| ProPhoto RGB | color(prophoto-rgb 0.28951 0.23143 0.49352) |
| Linear sRGB | color(srgb-linear 0.08022 0.06301 0.31399) |
| XYZ D65 | color(xyz-d65 0.11228 0.08479 0.30752) |
| XYZ D50 | color(xyz-d50 0.10417 0.08205 0.23145) |
| SwiftUI | Color(red: 0.314, green: 0.278, blue: 0.596) |
| UIKit | UIColor(red: 0.314, green: 0.278, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF504798) |
| Android XML | #504798 |

## Facts

- Closest name: Liberty
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.79:1
- Contrast with black: 2.7:1

## Tints

#504798, #5f59a3, #6f6bae, #7f7db8, #908fc3, #a1a1cd, #b3b3d7, #c6c6e2, #d8d9ec, #ececf5

## Shades

#504798, #443d84, #393270, #2e285c, #241f4a, #1a1638, #100d27, #070617, #020208, #000001

## Tones

#504798, #504992, #504b8b, #514d85, #514f7e, #515077, #525171, #53526a, #535363, #54545c

## Harmonies

- Complementary: #504798, #5f5700
- Split: #504798, #794900, #326406
- Analogous: #504798, #19559a, #6f3b85
- Triadic: #504798, #8c3701, #006944
- Tetradic: #504798, #843265, #5f5700, #006944
- Square: #504798, #8e2f3e, #5f5700, #006566
- Monochromatic: #504798, #19004e, #322472, #716abf, #948fe7

## Questions about #504798

### What color is #504798?

#504798 is soft dark indigo. The closest named color is Liberty. In RGB it is rgb(80, 71, 152), in HSL hsl(246.67, 36.32%, 43.73%) and in OKLCH oklch(44.969% 0.12781 285.082).

### What colors go well with #504798?

The complementary color of #504798 is #5f5700. For a calmer combination use the analogous colors #19559a and #6f3b85. The triadic partners are #8c3701 and #006944.

### Is white or black text more readable on #504798?

White text reads better on #504798: white gives a contrast ratio of 7.79:1 and black gives 2.7:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #504798 a warm or cool color?

#504798 is a cool color. In OKLCH its hue is 285 degrees, its lightness 45% and its chroma 0.128.
