# #504d9b color: Liberty

#504d9b is rgb(80, 77, 155) in RGB and oklch(46.338% 0.12326 282.192) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504d9b |
| RGB | rgb(80, 77, 155) |
| HSL | hsl(242.31, 33.62%, 45.49%) |
| HSB / HSV | hsv(242.31 50.32% 60.78%) |
| HWB | hwb(242.31 30.2% 39.22%) |
| CMYK | cmyk(48% 50% 0% 39%) |
| Lab | lab(36.16 18 -43.02) |
| LCH | lch(36.16 46.63 292.7) |
| OKLab | oklab(46.338% 0.02603 -0.12048) |
| OKLCH | oklch(46.338% 0.12326 282.192) |
| Display P3 | color(display-p3 0.31168 0.30236 0.58841) |
| Rec. 2020 | color(rec2020 0.27076 0.2485 0.54152) |
| Adobe RGB | color(a98-rgb 0.31442 0.30648 0.59339) |
| ProPhoto RGB | color(prophoto-rgb 0.29786 0.24912 0.50634) |
| Linear sRGB | color(srgb-linear 0.08022 0.07421 0.32778) |
| XYZ D65 | color(xyz-d65 0.11878 0.0938 0.32196) |
| XYZ D50 | color(xyz-d50 0.11046 0.09092 0.24239) |
| SwiftUI | Color(red: 0.314, green: 0.302, blue: 0.608) |
| UIKit | UIColor(red: 0.314, green: 0.302, blue: 0.608, alpha: 1) |
| Flutter / Compose | Color(0xFF504D9B) |
| Android XML | #504D9B |

## 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.3:1
- Contrast with black: 2.88:1

## Tints

#504d9b, #5f5ea6, #6f70b0, #7f81ba, #9092c5, #a2a4cf, #b4b6d9, #c6c8e2, #d9daec, #ececf6

## Shades

#504d9b, #444286, #393772, #2e2c5e, #24224b, #1a1839, #100f28, #070718, #020209, #000001

## Tones

#504d9b, #504f95, #51518e, #525288, #535381, #53557b, #545674, #55576e, #565867, #585860

## Harmonies

- Complementary: #504d9b, #665a00
- Split: #504d9b, #804b00, #3d660b
- Analogous: #504d9b, #185a9b, #70418a
- Triadic: #504d9b, #8f3c16, #006d43
- Tetradic: #504d9b, #85386c, #665a00, #006d43
- Square: #504d9b, #903546, #665a00, #006a67
- Monochromatic: #504d9b, #190551, #322b75, #7170c2, #9495ea

## Questions about #504d9b

### What color is #504d9b?

#504d9b is soft dark indigo. The closest named color is Liberty. In RGB it is rgb(80, 77, 155), in HSL hsl(242.31, 33.62%, 45.49%) and in OKLCH oklch(46.338% 0.12326 282.192).

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

The complementary color of #504d9b is #665a00. For a calmer combination use the analogous colors #185a9b and #70418a. The triadic partners are #8f3c16 and #006d43.

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

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

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

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