# #504d9a color: Liberty

#504d9a is rgb(80, 77, 154) in RGB and oklch(46.271% 0.12179 282.291) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504d9a

## Formats

| Format | Value |
| --- | --- |
| HEX | #504d9a |
| RGB | rgb(80, 77, 154) |
| HSL | hsl(242.34, 33.33%, 45.29%) |
| HSB / HSV | hsv(242.34 50% 60.39%) |
| HWB | hwb(242.34 30.2% 39.61%) |
| CMYK | cmyk(48% 50% 0% 40%) |
| Lab | lab(36.11 17.74 -42.5) |
| LCH | lch(36.11 46.06 292.66) |
| OKLab | oklab(46.271% 0.02593 -0.119) |
| OKLCH | oklch(46.271% 0.12179 282.291) |
| Display P3 | color(display-p3 0.31168 0.30236 0.58469) |
| Rec. 2020 | color(rec2020 0.27038 0.24839 0.53753) |
| Adobe RGB | color(a98-rgb 0.31442 0.30648 0.5896) |
| ProPhoto RGB | color(prophoto-rgb 0.2969 0.2489 0.50249) |
| Linear sRGB | color(srgb-linear 0.08022 0.07421 0.32314) |
| XYZ D65 | color(xyz-d65 0.11794 0.09346 0.31755) |
| XYZ D50 | color(xyz-d50 0.1098 0.09064 0.23908) |
| SwiftUI | Color(red: 0.314, green: 0.302, blue: 0.604) |
| UIKit | UIColor(red: 0.314, green: 0.302, blue: 0.604, alpha: 1) |
| Flutter / Compose | Color(0xFF504D9A) |
| Android XML | #504D9A |

## Facts

- Closest name: Liberty
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.32:1
- Contrast with black: 2.87:1

## Tints

#504d9a, #5f5ea5, #6f70af, #7f81ba, #9092c4, #a2a4ce, #b4b6d8, #c6c8e2, #d9daec, #ececf5

## Shades

#504d9a, #444285, #393771, #2e2c5e, #24224b, #1a1839, #100f27, #070717, #020209, #000001

## Tones

#504d9a, #504f94, #51518d, #525287, #525381, #53557a, #545674, #55576d, #565766, #575860

## Harmonies

- Complementary: #504d9a, #665a00
- Split: #504d9a, #804b00, #3d660d
- Analogous: #504d9a, #1a5a9a, #704189
- Triadic: #504d9a, #8f3c17, #006d43
- Tetradic: #504d9a, #85396b, #665a00, #006d43
- Square: #504d9a, #903646, #665a00, #006967
- Monochromatic: #504d9a, #190550, #322b75, #7170c1, #9495e9

## Questions about #504d9a

### What color is #504d9a?

#504d9a is soft dark indigo. The closest named color is Liberty. In RGB it is rgb(80, 77, 154), in HSL hsl(242.34, 33.33%, 45.29%) and in OKLCH oklch(46.271% 0.12179 282.291).

### What colors go well with #504d9a?

The complementary color of #504d9a is #665a00. For a calmer combination use the analogous colors #1a5a9a and #704189. The triadic partners are #8f3c17 and #006d43.

### Is white or black text more readable on #504d9a?

White text reads better on #504d9a: white gives a contrast ratio of 7.32:1 and black gives 2.87:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #504d9a a warm or cool color?

#504d9a is a cool color. In OKLCH its hue is 282 degrees, its lightness 46.3% and its chroma 0.122.
